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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to