diff options
author | phk <phk@FreeBSD.org> | 2000-11-02 21:14:13 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-11-02 21:14:13 +0000 |
commit | 4e063f553471c4c75d185894232cce516553505b (patch) | |
tree | 7e09ffe66c44c6ab6baccfc2be5f38006ed8e681 /sys/kern/vfs_syscalls.c | |
parent | 5fe3f7f833039a13236d7334808f02132b2d5255 (diff) | |
download | FreeBSD-src-4e063f553471c4c75d185894232cce516553505b.zip FreeBSD-src-4e063f553471c4c75d185894232cce516553505b.tar.gz |
Take VBLK devices further out of their missery.
This should fix the panic I introduced in my previous commit on this topic.
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 83ca1ca..c24d227 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -3189,7 +3189,7 @@ revoke(p, uap) return (error); vp = nd.ni_vp; NDFREE(&nd, NDF_ONLY_PNBUF); - if (vp->v_type != VCHR && vp->v_type != VBLK) { + if (vp->v_type != VCHR) { error = EINVAL; goto out; } |