Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/bouyer-quota2]: src/sys/ufs/ffs Make it build without FFS_EI



details:   https://anonhg.NetBSD.org/src/rev/1afb7f7bc224
branches:  bouyer-quota2
changeset: 761139:1afb7f7bc224
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Feb 09 10:52:07 2011 +0000

description:
Make it build without FFS_EI

diffstat:

 sys/ufs/ffs/ffs_subr.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 07cc42e1091b -r 1afb7f7bc224 sys/ufs/ffs/ffs_subr.c
--- a/sys/ufs/ffs/ffs_subr.c    Wed Feb 09 10:51:03 2011 +0000
+++ b/sys/ufs/ffs/ffs_subr.c    Wed Feb 09 10:52:07 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_subr.c,v 1.45.28.3 2011/02/08 21:29:45 bouyer Exp $        */
+/*     $NetBSD: ffs_subr.c,v 1.45.28.4 2011/02/09 10:52:07 bouyer Exp $        */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -36,7 +36,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_subr.c,v 1.45.28.3 2011/02/08 21:29:45 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_subr.c,v 1.45.28.4 2011/02/09 10:52:07 bouyer Exp $");
 
 #include <sys/param.h>
 
@@ -286,7 +286,9 @@
        int32_t *lp;
        u_char *freemapp, *mapp;
        int i, start, end, forw, back, map, bit;
+#ifdef FFS_EI
        const int needswap = UFS_FSNEEDSWAP(fs);
+#endif
 
        /* KASSERT(mutex_owned(&ump->um_lock)); */
 



Home | Main Index | Thread Index | Old Index