diff options
author | phk <phk@FreeBSD.org> | 1999-08-30 07:56:23 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-08-30 07:56:23 +0000 |
commit | 216936ca6d54e77a70cdfe5305d1ba3ac2412fad (patch) | |
tree | 08111cbf8cb75c2fe1dbf514a18ed740cd870dce /sys/isa/fd.c | |
parent | dac43b022432b627a46c3aa4772dd215541b193b (diff) | |
download | FreeBSD-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/isa/fd.c')
-rw-r--r-- | sys/isa/fd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c index 7704cca..539569d 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -1227,7 +1227,6 @@ Fdopen(dev_t dev, int flags, int mode, struct proc *p) fdc_p fdc; dev->si_bsize_phys = DEV_BSIZE; - dev->si_bsize_best = BLKDEV_IOSIZE; dev->si_bsize_max = MAXBSIZE; /* check bounds */ if ((fd = devclass_get_softc(fd_devclass, fdu)) == 0) |