Module Name: src
Committed By: bouyer
Date: Tue Feb 8 21:29:46 UTC 2011
Modified Files:
src/sys/ufs/ffs [bouyer-quota2]: ffs_subr.c
Log Message:
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 :)
To generate a diff of this commit:
cvs rdiff -u -r1.45.28.2 -r1.45.28.3 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.2 src/sys/ufs/ffs/ffs_subr.c:1.45.28.3
--- src/sys/ufs/ffs/ffs_subr.c:1.45.28.2 Tue Feb 8 16:20:05 2011
+++ src/sys/ufs/ffs/ffs_subr.c Tue Feb 8 21:29:45 2011
@@ -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>