summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/fs.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-05-12 20:00:21 +0000
committerphk <phk@FreeBSD.org>2002-05-12 20:00:21 +0000
commit4aa59982cb5684fda4dfc0e47cb17fc95a67fb5d (patch)
treef432937d9c8f584473b8c6b745ed35b6eb98b964 /sys/ufs/ffs/fs.h
parent57e4ad9a8bbd8763114f337bdfe0d2212e949067 (diff)
downloadFreeBSD-src-4aa59982cb5684fda4dfc0e47cb17fc95a67fb5d.zip
FreeBSD-src-4aa59982cb5684fda4dfc0e47cb17fc95a67fb5d.tar.gz
Remove #define for BBOFF, it is assumed == 0 so many places that we might
as well forget about it. In fact the only thing which used it was the SBOFF macro. Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/ufs/ffs/fs.h')
-rw-r--r--sys/ufs/ffs/fs.h3
1 files changed, 1 insertions, 2 deletions
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