summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2012-05-05 09:34:35 +0000
committerpluknet <pluknet@FreeBSD.org>2012-05-05 09:34:35 +0000
commitaf723a8e1a44b0db268646791cb0fd8f092aaa45 (patch)
tree1b95d9d8af142ed64deabb6a1110746debdc2ca2 /sys/nfsclient
parent45d1b389bccabfe62771b60ef695f7fae5b7d1fc (diff)
downloadFreeBSD-src-af723a8e1a44b0db268646791cb0fd8f092aaa45.zip
FreeBSD-src-af723a8e1a44b0db268646791cb0fd8f092aaa45.tar.gz
Fix mount mutex handling missed in r234386.
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 b2586c3..9172703 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.
OpenPOWER on IntegriCloud