diff options
author | phk <phk@FreeBSD.org> | 1999-08-26 14:46:10 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-08-26 14:46:10 +0000 |
commit | 2c6415fbf944c8b04586e326b6d563bbb8c9d06b (patch) | |
tree | 5ee6097d31278873d930e93764d3d3c37b68aaa7 /sys/geom | |
parent | 034439b432b5e08f68dd31925bc4b0c1cc79b8fb (diff) | |
download | FreeBSD-src-2c6415fbf944c8b04586e326b6d563bbb8c9d06b.zip FreeBSD-src-2c6415fbf944c8b04586e326b6d563bbb8c9d06b.tar.gz |
Initialize the dev->si_bsize fields.
Submitted by: tegge
Reviewed by: phk
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_ccd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c index c6eb299..e4faa3f 100644 --- a/sys/geom/geom_ccd.c +++ b/sys/geom/geom_ccd.c @@ -1,4 +1,4 @@ -/* $Id: ccd.c,v 1.51 1999/07/18 14:30:57 phk Exp $ */ +/* $Id: ccd.c,v 1.52 1999/08/14 11:40:34 phk Exp $ */ /* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */ @@ -633,6 +633,10 @@ ccdopen(dev, flags, fmt, p) part = ccdpart(dev); pmask = (1 << part); + dev->si_bsize_phys = DEV_BSIZE; + dev->si_bsize_best = BLKDEV_IOSIZE; + dev->si_bsize_max = MAXBSIZE; + /* * If we're initialized, check to see if there are any other * open partitions. If not, then it's safe to update |