summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-05-12 20:49:41 +0000
committerphk <phk@FreeBSD.org>2002-05-12 20:49:41 +0000
commit02fe70f68eeae14d8c6155c522822cd36d600068 (patch)
tree23b6f85553aa96d4599428d24b108a5190c99452 /sys/geom
parent320493f9ebe397927d0ac2dd711de742218c0252 (diff)
downloadFreeBSD-src-02fe70f68eeae14d8c6155c522822cd36d600068.zip
FreeBSD-src-02fe70f68eeae14d8c6155c522822cd36d600068.tar.gz
Retire the bogus uses of the disklabel field d_sbsize and begin to
initialize it to zero so we don't have to have everbody and their aunt including FFS specific header files. Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_ccd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c
index c9c9fa1..bdb4043 100644
--- a/sys/geom/geom_ccd.c
+++ b/sys/geom/geom_ccd.c
@@ -99,7 +99,6 @@
#include <sys/stat.h>
#include <sys/sysctl.h>
#include <sys/disk.h>
-#include <ufs/ffs/fs.h>
#include <sys/devicestat.h>
#include <sys/fcntl.h>
#include <sys/vnode.h>
@@ -1662,7 +1661,7 @@ ccdgetdisklabel(dev_t dev)
lp->d_npartitions = RAW_PART + 1;
lp->d_bbsize = BBSIZE; /* XXX */
- lp->d_sbsize = SBSIZE; /* XXX */
+ lp->d_sbsize = 0;
lp->d_magic = DISKMAGIC;
lp->d_magic2 = DISKMAGIC;
OpenPOWER on IntegriCloud