aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-05-12 20:00:21 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-05-12 20:00:21 +0000
commit7cb71b749c8a348efbd7a72d42b09ce7cd13f838 (patch)
treef432937d9c8f584473b8c6b745ed35b6eb98b964
parent16910634dd4037a40b869ecc83aae9c2a2948274 (diff)
Notes
-rw-r--r--sys/gnu/ext2fs/fs.h3
-rw-r--r--sys/gnu/fs/ext2fs/fs.h3
-rw-r--r--sys/ufs/ffs/fs.h3
3 files changed, 3 insertions, 6 deletions
diff --git a/sys/gnu/ext2fs/fs.h b/sys/gnu/ext2fs/fs.h
index 311a0c345a87..736051143918 100644
--- a/sys/gnu/ext2fs/fs.h
+++ b/sys/gnu/ext2fs/fs.h
@@ -57,8 +57,7 @@
*/
#define BBSIZE 1024
#define SBSIZE 1024
-#define BBOFF ((off_t)(0))
-#define SBOFF ((off_t)(BBOFF + BBSIZE))
+#define SBOFF ((off_t)(BBSIZE))
/*
* The path name on which the file system is mounted is maintained
diff --git a/sys/gnu/fs/ext2fs/fs.h b/sys/gnu/fs/ext2fs/fs.h
index 311a0c345a87..736051143918 100644
--- a/sys/gnu/fs/ext2fs/fs.h
+++ b/sys/gnu/fs/ext2fs/fs.h
@@ -57,8 +57,7 @@
*/
#define BBSIZE 1024
#define SBSIZE 1024
-#define BBOFF ((off_t)(0))
-#define SBOFF ((off_t)(BBOFF + BBSIZE))
+#define SBOFF ((off_t)(BBSIZE))
/*
* The path name on which the file system is mounted is maintained
diff --git a/sys/ufs/ffs/fs.h b/sys/ufs/ffs/fs.h
index 2fb5834a6a20..af7fd43dc528 100644
--- a/sys/ufs/ffs/fs.h
+++ b/sys/ufs/ffs/fs.h
@@ -63,8 +63,7 @@
*/
#define BBSIZE 8192
#define SBSIZE 8192
-#define BBOFF ((off_t)(0))
-#define SBOFF ((off_t)(BBOFF + BBSIZE))
+#define SBOFF ((off_t)(BBSIZE))
/* Max number of fragments per block, this is not tweakable */
#define MAXFRAG 8