diff options
Diffstat (limited to 'sys/fs/nullfs')
-rw-r--r-- | sys/fs/nullfs/null_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c index 96d6f83..c4d6f00f 100644 --- a/sys/fs/nullfs/null_vnops.c +++ b/sys/fs/nullfs/null_vnops.c @@ -650,7 +650,7 @@ null_lock(ap) * operation. When that happens, just back out. */ if (error == 0 && (vp->v_iflag & VI_XLOCK) != 0 && - td != vp->v_vxproc) { + td != vp->v_vxthread) { lockmgr(vp->v_vnlock, (flags & ~LK_TYPE_MASK) | LK_RELEASE, VI_MTX(vp), td); @@ -668,7 +668,7 @@ null_lock(ap) wakeup(&nn->null_pending_locks); } if (error == ENOENT && (vp->v_iflag & VI_XLOCK) != 0 && - vp->v_vxproc != curthread) { + vp->v_vxthread != curthread) { vp->v_iflag |= VI_XWANT; msleep(vp, VI_MTX(vp), PINOD, "nulbo", 0); } |