- Don't forget to unlock the vnode interlock in the LK_NOWAIT case.

Submitted by:	Stephan Uphoff <ups@stups.com>
Approved by:	re (rwatson)
This commit is contained in:
Jeff Roberson 2003-11-30 22:09:58 +00:00
parent 6315839163
commit a6c6a93c89

View File

@ -2099,7 +2099,8 @@ vget(vp, flags, td)
if ((flags & LK_NOWAIT) == 0) {
vp->v_iflag |= VI_XWANT;
msleep(vp, VI_MTX(vp), PINOD | PDROP, "vget", 0);
}
} else
VI_UNLOCK(vp);
return (ENOENT);
}