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:
parent
d685023e68
commit
200988017c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55765
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user