Do not drop the vnode interlock if vdropl is called on already doomed vnode.

vdropl callers expect it to return with interlock still being held.

MFC after:	2 days
This commit is contained in:
Alexander Kabaev 2005-08-10 11:46:03 +00:00
parent f8a8f9ca5e
commit 45a0d1ed7a

View File

@ -2333,10 +2333,8 @@ vgonel(struct vnode *vp)
/*
* Don't vgonel if we're already doomed.
*/
if (vp->v_iflag & VI_DOOMED) {
VI_UNLOCK(vp);
if (vp->v_iflag & VI_DOOMED)
return;
}
vp->v_iflag |= VI_DOOMED;
/*
* Check to see if the vnode is in use. If so, we have to call