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 for !_KERNEL case, always define FFS_EI.



details:   https://anonhg.NetBSD.org/src/rev/60a89b1d194f
branches:  bouyer-quota2
changeset: 761127:60a89b1d194f
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Feb 08 21:29:45 2011 +0000

description:
for !_KERNEL case, always define FFS_EI.
Required for makefs, and maybe resize_ffs (it's not clear if
resize_ffs supports swapped byte order or not - swapped endian tests
are expected to fail but actually succeed :)

diffstat:

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

diffs (28 lines):

diff -r 01abbc9bc213 -r 60a89b1d194f sys/ufs/ffs/ffs_subr.c
--- a/sys/ufs/ffs/ffs_subr.c    Tue Feb 08 20:09:56 2011 +0000
+++ b/sys/ufs/ffs/ffs_subr.c    Tue Feb 08 21:29:45 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_subr.c,v 1.45.28.2 2011/02/08 16:20:05 bouyer Exp $        */
+/*     $NetBSD: ffs_subr.c,v 1.45.28.3 2011/02/08 21:29:45 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.2 2011/02/08 16:20:05 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_subr.c,v 1.45.28.3 2011/02/08 21:29:45 bouyer Exp $");
 
 #include <sys/param.h>
 
@@ -44,6 +44,9 @@
 extern const int inside[], around[];
 extern const u_char * const fragtbl[];
 
+#ifndef _KERNEL
+#define FFS_EI /* always include byteswapped filesystems support */
+#endif
 #include <ufs/ffs/fs.h>
 #include <ufs/ffs/ffs_extern.h>
 #include <ufs/ufs/ufs_bswap.h>



Home | Main Index | Thread Index | Old Index