aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2020-11-20 20:22:01 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2020-11-20 20:22:01 +0000
commite75f0f2b4826b16aadd2d8fc52c94bf6d4c74d1e (patch)
tree411f2aac52a08a3c79fe75a6061f189de936ce38
parent80cedb809fb8b08976787108c09a9d51fdb0a95e (diff)
downloadsrc-e75f0f2b4826b16aadd2d8fc52c94bf6d4c74d1e.tar.gz
src-e75f0f2b4826b16aadd2d8fc52c94bf6d4c74d1e.zip
Notes
-rw-r--r--sys/kern/vfs_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index 1eff859833f9..19996f268426 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -3007,8 +3007,8 @@ vn_write_outvp(struct vnode *outvp, char *dat, off_t outoff, off_t xfer,
curthread->td_ucred, cred, NULL, curthread);
outoff += xfer2;
xfer -= xfer2;
+ VOP_UNLOCK(outvp);
}
- VOP_UNLOCK(outvp);
}
if (mp != NULL)
vn_finished_write(mp);