1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

remove check now done in vn_isdisk().

This commit is contained in:
Poul-Henning Kamp 2000-01-10 12:24:36 +00:00
parent d685023e68
commit 200988017c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55765
2 changed files with 0 additions and 8 deletions

View File

@ -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);

View File

@ -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);