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/kern/vfs_vnops.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/kern/vfs_vnops.c') 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; -- cgit v1.1