summaryrefslogtreecommitdiff
path: root/bsdfsck/fsck.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-25 15:17:16 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-25 15:17:16 +0000
commitdefc157175896fb7b5e6542b85125f4311718cc8 (patch)
treed6df7ece75490b9786c8f1cf7031477434c255c8 /bsdfsck/fsck.h
parentd8217ba822954c0f6e4088dc9b34ebf578cb2e84 (diff)
Formerly fsck.h.~5~
Diffstat (limited to 'bsdfsck/fsck.h')
-rw-r--r--bsdfsck/fsck.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/bsdfsck/fsck.h b/bsdfsck/fsck.h
index 9f247804..6b99eb4f 100644
--- a/bsdfsck/fsck.h
+++ b/bsdfsck/fsck.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)fsck.h 8.1 (Berkeley) 6/5/93
- * $Id: fsck.h,v 1.4 1994/08/24 15:11:08 mib Exp $
+ * $Id: fsck.h,v 1.5 1994/08/25 15:17:16 mib Exp $
*/
/* Begin GNU Hurd */
@@ -91,6 +91,14 @@ struct odirtemplate {
#define NBBY 8
+#define MAXPHYS (64 * 1024)
+
+/* The fsck code in setup.c sets the fs_csp table which ufs doesn't want.
+ So here is the fs_cs macro from ufs for use when that table is real. */
+#undef fs_cs
+#define fs_cs(fs, indx) \
+ fs_csp[(indx) >> (fs)->fs_csshift][(indx) & ~(fs)->fs_csmask]
+
/* End GNU Hurd additions */