Update the inline version of vn_get_ino() for ".." lookups to match the

recentish changes to vn_get_ino().

MFC after:	1 week
This commit is contained in:
John Baldwin 2009-06-12 21:19:57 +00:00
parent 736801ace4
commit 04f7f4636f

View File

@ -374,15 +374,17 @@ cd9660_lookup(ap)
*/
mp = pdp->v_mount;
ltype = VOP_ISLOCKED(pdp);
for (;;) {
error = vfs_busy(mp, MBF_NOWAIT);
if (error == 0)
break;
error = vfs_busy(mp, MBF_NOWAIT);
if (error != 0) {
VOP_UNLOCK(pdp, 0);
pause("vn_vget", 1);
error = vfs_busy(mp, 0);
vn_lock(pdp, ltype | LK_RETRY);
if (pdp->v_iflag & VI_DOOMED)
if (error)
return (ENOENT);
if (pdp->v_iflag & VI_DOOMED) {
vfs_unbusy(mp);
return (ENOENT);
}
}
VOP_UNLOCK(pdp, 0);
error = cd9660_vget_internal(vdp->v_mount, i_ino,