summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_export.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r--sys/kern/vfs_export.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index 86d2f6ce3c76..f32aaf0f044b 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
- * $Id: vfs_subr.c,v 1.197 1999/05/14 01:29:21 mckusick Exp $
+ * $Id: vfs_subr.c,v 1.198 1999/05/14 20:40:15 luoqi Exp $
*/
/*
@@ -1175,7 +1175,7 @@ bdevvp(dev, vpp)
struct vnode *nvp;
int error;
- if (dev == NODEV || major(dev) >= nblkdev || bdevsw(dev) == NULL) {
+ if (dev == NODEV || major(dev) >= nblkdev) {
*vpp = NULLVP;
return (ENXIO);
}