diff options
-rw-r--r-- | sys/kern/kern_lockf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_lockf.c b/sys/kern/kern_lockf.c index 8862f1e67cac..84496cf41cd4 100644 --- a/sys/kern/kern_lockf.c +++ b/sys/kern/kern_lockf.c @@ -647,6 +647,7 @@ lf_advlockasync(struct vop_advlockasync_args *ap, struct lockf **statep, VI_LOCK(vp); if (vp->v_iflag & VI_DOOMED) { VI_UNLOCK(vp); + sx_xunlock(&state->ls_lock); lf_free_lock(lock); return (ENOENT); } |