Previous commit broke interlock locking for !LK_RETRY case.
This commit is contained in:
parent
116669cfdd
commit
0c6dda920d
@ -625,7 +625,8 @@ debug_vn_lock(vp, flags, p, filename, line)
|
||||
mtx_lock(&vp->v_interlock);
|
||||
if ((vp->v_flag & VXLOCK) && vp->v_vxproc != curproc) {
|
||||
vp->v_flag |= VXWANT;
|
||||
msleep(vp, &vp->v_interlock, PINOD, "vn_lock", 0);
|
||||
msleep(vp, &vp->v_interlock, PINOD | PDROP,
|
||||
"vn_lock", 0);
|
||||
error = ENOENT;
|
||||
} else {
|
||||
if (vp->v_vxproc != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user