Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2010 12:16:06 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216795 - head/sys/ufs/ffs
Message-ID:  <201012291216.oBTCG67M000240@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed Dec 29 12:16:06 2010
New Revision: 216795
URL: http://svn.freebsd.org/changeset/base/216795

Log:
  Move the definition of mkdirlisthd from header to C file.
  
  Reviewed by:	mckusick
  Tested by:	pho

Modified:
  head/sys/ufs/ffs/ffs_softdep.c
  head/sys/ufs/ffs/softdep.h

Modified: head/sys/ufs/ffs/ffs_softdep.c
==============================================================================
--- head/sys/ufs/ffs/ffs_softdep.c	Wed Dec 29 12:11:07 2010	(r216794)
+++ head/sys/ufs/ffs/ffs_softdep.c	Wed Dec 29 12:16:06 2010	(r216795)
@@ -691,6 +691,8 @@ static struct malloc_type *memtype[] = {
 	M_JTRUNC
 };
 
+static LIST_HEAD(mkdirlist, mkdir) mkdirlisthd;
+
 #define DtoM(type) (memtype[type])
 
 /*

Modified: head/sys/ufs/ffs/softdep.h
==============================================================================
--- head/sys/ufs/ffs/softdep.h	Wed Dec 29 12:11:07 2010	(r216794)
+++ head/sys/ufs/ffs/softdep.h	Wed Dec 29 12:16:06 2010	(r216795)
@@ -657,7 +657,6 @@ struct mkdir {
 	struct	buf *md_buf;		/* MKDIR_BODY: buffer holding dir */
 	LIST_ENTRY(mkdir) md_mkdirs;	/* list of all mkdirs */
 };
-LIST_HEAD(mkdirlist, mkdir) mkdirlisthd;
 
 /*
  * A "dirrem" structure describes an operation to decrement the link



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012291216.oBTCG67M000240>