summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-08-30 07:56:23 +0000
committerphk <phk@FreeBSD.org>1999-08-30 07:56:23 +0000
commit216936ca6d54e77a70cdfe5305d1ba3ac2412fad (patch)
tree08111cbf8cb75c2fe1dbf514a18ed740cd870dce /sys/geom
parentdac43b022432b627a46c3aa4772dd215541b193b (diff)
downloadFreeBSD-src-216936ca6d54e77a70cdfe5305d1ba3ac2412fad.zip
FreeBSD-src-216936ca6d54e77a70cdfe5305d1ba3ac2412fad.tar.gz
Make bdev userland access work like cdev userland access unless
the highly non-recommended option ALLOW_BDEV_ACCESS is used. (bdev access is evil because you don't get write errors reported.) Kill si_bsize_best before it kills Matt :-) Use the specfs routines rather having cloned copies in devfs.
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_ccd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c
index 7badacb..c4a0a8e 100644
--- a/sys/geom/geom_ccd.c
+++ b/sys/geom/geom_ccd.c
@@ -634,7 +634,6 @@ ccdopen(dev, flags, fmt, p)
pmask = (1 << part);
dev->si_bsize_phys = DEV_BSIZE;
- dev->si_bsize_best = BLKDEV_IOSIZE;
dev->si_bsize_max = MAXBSIZE;
/*
OpenPOWER on IntegriCloud