From 54d642ad7de87bb33606ccbb047cf50aa9f4063f Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Sat, 5 May 2012 09:34:35 +0000 Subject: [PATCH] Fix mount mutex handling missed in r234386. --- sys/nfsclient/nfs_vfsops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index b2586c3d7ec5..91727036d212 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.