summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 0f249e4..37c82cc 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_vfsops.c 8.31 (Berkeley) 5/20/95
- * $Id: ffs_vfsops.c,v 1.101 1999/08/08 18:43:01 phk Exp $
+ * $Id: ffs_vfsops.c,v 1.102 1999/08/13 10:29:33 phk Exp $
*/
#include "opt_quota.h"
@@ -284,14 +284,10 @@ ffs_mount( mp, path, data, ndp, p)
devvp = ndp->ni_vp;
- if (devvp->v_type != VBLK) {
+ if (!vn_isdisk(devvp)) {
err = ENOTBLK;
goto error_2;
}
- if (devsw(devvp->v_rdev) == NULL) {
- err = ENXIO;
- goto error_2;
- }
/*
* If mount by non-root, then verify that user has necessary
OpenPOWER on IntegriCloud