summaryrefslogtreecommitdiff
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@FreeBSD.org>2012-05-05 09:34:35 +0000
committerSergey Kandaurov <pluknet@FreeBSD.org>2012-05-05 09:34:35 +0000
commit54d642ad7de87bb33606ccbb047cf50aa9f4063f (patch)
tree1b95d9d8af142ed64deabb6a1110746debdc2ca2 /sys/nfsclient
parent6593be0158d7911ae67788c268ed059c54815d62 (diff)
downloadsrc-test-54d642ad7de87bb33606ccbb047cf50aa9f4063f.tar.gz
src-test-54d642ad7de87bb33606ccbb047cf50aa9f4063f.zip
Notes
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_vfsops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index b2586c3d7ec52..91727036d2121 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -1452,6 +1452,7 @@ nfs_sync(struct mount *mp, int waitfor)
MNT_IUNLOCK(mp);
return (EBADF);
}
+ MNT_IUNLOCK(mp);
/*
* Force stale buffer cache information to be flushed.