summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 311a0c3..7360511 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 311a0c3..7360511 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 2fb5834..af7fd43 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
OpenPOWER on IntegriCloud