summaryrefslogtreecommitdiffstats
path: root/sys/gnu/ext2fs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-05-12 20:21:40 +0000
committerphk <phk@FreeBSD.org>2002-05-12 20:21:40 +0000
commite27fed0950bce6104eff3b285e2d686c16ed0c0f (patch)
treef8881a1706abe6ff98361858048c6c983eb2c4bd /sys/gnu/ext2fs
parent4aa59982cb5684fda4dfc0e47cb17fc95a67fb5d (diff)
downloadFreeBSD-src-e27fed0950bce6104eff3b285e2d686c16ed0c0f.zip
FreeBSD-src-e27fed0950bce6104eff3b285e2d686c16ed0c0f.tar.gz
ARGH! SBLOCK is not unused. Try to get this right.
BBSIZE belongs in <sys/disklabel.h> (but shouldn't be a constant). Define SBLOCK again, using the right math. Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/gnu/ext2fs')
-rw-r--r--sys/gnu/ext2fs/fs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/gnu/ext2fs/fs.h b/sys/gnu/ext2fs/fs.h
index 7360511..785f267 100644
--- a/sys/gnu/ext2fs/fs.h
+++ b/sys/gnu/ext2fs/fs.h
@@ -55,9 +55,8 @@
* The first boot and super blocks are given in absolute disk addresses.
* The byte-offset forms are preferred, as they don't imply a sector size.
*/
-#define BBSIZE 1024
#define SBSIZE 1024
-#define SBOFF ((off_t)(BBSIZE))
+#define SBLOCK 2
/*
* The path name on which the file system is mounted is maintained
OpenPOWER on IntegriCloud