From 216936ca6d54e77a70cdfe5305d1ba3ac2412fad Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 30 Aug 1999 07:56:23 +0000 Subject: 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. --- sys/dev/vinum/vinum.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/vinum') 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 */ -- cgit v1.1