summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-01-10 12:24:36 +0000
committerphk <phk@FreeBSD.org>2000-01-10 12:24:36 +0000
commit0c41ecfa993e2f2b4f78753434491bd659422c08 (patch)
tree0a5f6dd4bf38dcf494927bf50e2f1809c52af8db /sys/fs
parent8eb5bbb8616373cb0114ebbf5b60cd03f4e47ff8 (diff)
downloadFreeBSD-src-0c41ecfa993e2f2b4f78753434491bd659422c08.zip
FreeBSD-src-0c41ecfa993e2f2b4f78753434491bd659422c08.tar.gz
remove check now done in vn_isdisk().
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index 5a7e880..955cc2f 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -216,10 +216,6 @@ cd9660_mount(mp, path, data, ndp, p)
NDFREE(ndp, NDF_ONLY_PNBUF);
devvp = ndp->ni_vp;
- if (devsw(devvp->v_rdev) == NULL) {
- vrele(devvp);
- return (ENXIO);
- }
if (!vn_isdisk(devvp, &error)) {
vrele(devvp);
return (error);
OpenPOWER on IntegriCloud