diff options
author | phk <phk@FreeBSD.org> | 2000-01-10 12:24:36 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-01-10 12:24:36 +0000 |
commit | 0c41ecfa993e2f2b4f78753434491bd659422c08 (patch) | |
tree | 0a5f6dd4bf38dcf494927bf50e2f1809c52af8db /sys/fs | |
parent | 8eb5bbb8616373cb0114ebbf5b60cd03f4e47ff8 (diff) | |
download | FreeBSD-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.c | 4 |
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); |