Module Name: src
Committed By: bouyer
Date: Wed Feb 9 10:52:08 UTC 2011
Modified Files:
src/sys/ufs/ffs [bouyer-quota2]: ffs_subr.c
Log Message:
Make it build without FFS_EI
To generate a diff of this commit:
cvs rdiff -u -r1.45.28.3 -r1.45.28.4 src/sys/ufs/ffs/ffs_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/ufs/ffs/ffs_subr.c
diff -u src/sys/ufs/ffs/ffs_subr.c:1.45.28.3 src/sys/ufs/ffs/ffs_subr.c:1.45.28.4
--- src/sys/ufs/ffs/ffs_subr.c:1.45.28.3 Tue Feb 8 21:29:45 2011
+++ src/sys/ufs/ffs/ffs_subr.c Wed Feb 9 10:52:07 2011
@@ -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)); */