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/kern/vfs_vnops.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/kern/vfs_vnops.c')
-rw-r--r-- | sys/kern/vfs_vnops.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index 0a08938..e1459d1 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -436,8 +436,6 @@ vn_stat(vp, sb, p) */ switch (vap->va_type) { case VBLK: - sb->st_blksize = vp->v_rdev->si_bsize_best; - break; case VCHR: sb->st_blksize = vp->v_rdev->si_bsize_max; break; |