summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-07-14 21:12:31 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-07-14 21:12:31 +0000
commitd80d67b564b9dda73a74fac19b9e344ddceb50db (patch)
treeb27ed20756011d289d3a1072d96240c6d5172c3c
parent942c826cd24e6d9f58e4aaa1e0d93af2c6ba9b67 (diff)
Formerly fs.h.~4~
-rw-r--r--ufs/fs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ufs/fs.h b/ufs/fs.h
index bef052fe..7a4e6d7c 100644
--- a/ufs/fs.h
+++ b/ufs/fs.h
@@ -281,6 +281,7 @@ struct fs {
/* cluster sum */ (fs)->fs_contigsumsize * sizeof(long) + \
/* cluster map */ howmany((fs)->fs_cpg * (fs)->fs_spc / NSPB(fs), NBBY)))
+#if 0 /* Wrong for GNU Hurd ufs; we don't use fs_csp at all. */
/*
* Convert cylinder group to base address of its global summary info.
*
@@ -288,6 +289,11 @@ struct fs {
*/
#define fs_cs(fs, indx) \
fs_csp[(indx) >> (fs)->fs_csshift][(indx) & ~(fs)->fs_csmask]
+#else
+/* Global variable csum is declared in ufs.h; use it instead
+ of fs_cs stuff. */
+#define fs_cs(fs, indx) this will generate a syntax error.
+#endif
/*
* Cylinder group block for a file system.