From 7cb71b749c8a348efbd7a72d42b09ce7cd13f838 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 12 May 2002 20:00:21 +0000 Subject: [PATCH] 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. --- sys/gnu/ext2fs/fs.h | 3 +-- sys/gnu/fs/ext2fs/fs.h | 3 +-- sys/ufs/ffs/fs.h | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/gnu/ext2fs/fs.h b/sys/gnu/ext2fs/fs.h index 311a0c345a8..73605114391 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 311a0c345a8..73605114391 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 2fb5834a6a2..af7fd43dc52 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