- 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:
parent
6315839163
commit
a6c6a93c89
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user