summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum
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/dev/vinum
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/dev/vinum')
-rw-r--r--sys/dev/vinum/vinum.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/vinum/vinum.c b/sys/dev/vinum/vinum.c
index 29b7232..2355544 100644
--- a/sys/dev/vinum/vinum.c
+++ b/sys/dev/vinum/vinum.c
@@ -272,7 +272,6 @@ vinumopen(dev_t dev,
devminor = minor(dev);
dev->si_bsize_phys = DEV_BSIZE;
- dev->si_bsize_best = VINUM_BSIZE_BEST; /* kludge until we track drive block sizes */
dev->si_bsize_max = MAXBSIZE;
error = 0;
/* First, decide what we're looking at */
OpenPOWER on IntegriCloud