diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 1999-10-20 06:31:49 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-10-20 06:31:49 +0000 |
| commit | dfbdd7d2b30c1ca17f6cf15f5fd5f12d9f15df64 (patch) | |
| tree | 92a66b1e5501022d6925bd2e89ddff893bf4a2ec /sys/fs | |
| parent | 96df778049bf54a9391e7f80402a8dca782c4816 (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/specfs/spec_vnops.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c index 44cb42e064dc..152c9c0bc64b 100644 --- a/sys/fs/specfs/spec_vnops.c +++ b/sys/fs/specfs/spec_vnops.c @@ -120,9 +120,6 @@ VNODEOP_SET(spec_vnodeop_opv_desc); static int bdev_buffered = 0; SYSCTL_INT(_vfs, OID_AUTO, bdev_buffered, CTLFLAG_RW, &bdev_buffered, 0, ""); -static int enable_userblk_io = 1; -SYSCTL_INT(_vfs, OID_AUTO, enable_userblk_io, CTLFLAG_RW, &enable_userblk_io, 0, ""); - int spec_vnoperate(ap) struct vop_generic_args /* { @@ -334,8 +331,6 @@ spec_bufread(ap) int seqcount = ap->a_ioflag >> 16; dev_t dev; - if (!enable_userblk_io) - return (EINVAL); if (uio->uio_offset < 0) return (EINVAL); dev = vp->v_rdev; @@ -458,8 +453,6 @@ spec_bufwrite(ap) register int n, on; int error = 0; - if (!enable_userblk_io) - return (EINVAL); if (uio->uio_resid == 0) return (0); if (uio->uio_offset < 0) |
