svn commit: r256860 - head/sys/ufs/ffs

Brooks Davis brooks at FreeBSD.org
Mon Oct 21 20:51:09 UTC 2013


Author: brooks
Date: Mon Oct 21 20:51:08 2013
New Revision: 256860
URL: http://svnweb.freebsd.org/changeset/base/256860

Log:
  Allow kernels without options SOFTUPDATES to build.  This should fix the
  embedded tinderboxes.
  
  Reviewed by:	emaste

Modified:
  head/sys/ufs/ffs/ffs_vfsops.c

Modified: head/sys/ufs/ffs/ffs_vfsops.c
==============================================================================
--- head/sys/ufs/ffs/ffs_vfsops.c	Mon Oct 21 20:38:02 2013	(r256859)
+++ head/sys/ufs/ffs/ffs_vfsops.c	Mon Oct 21 20:51:08 2013	(r256860)
@@ -2221,6 +2221,7 @@ ffs_own_mount(const struct mount *mp)
 }
 
 #ifdef	DDB
+#ifdef SOFTUPDATES
 
 /* defined in ffs_softdep.c */
 extern void db_print_ffs(struct ufsmount *ump);
@@ -2242,4 +2243,5 @@ DB_SHOW_COMMAND(ffs, db_show_ffs)
 	}
 }
 
+#endif	/* SOFTUPDATES */
 #endif	/* DDB */


More information about the svn-src-head mailing list