svn commit: r235052 - head/sys/nfsclient

Sergey Kandaurov pluknet at FreeBSD.org
Sat May 5 09:34:36 UTC 2012


Author: pluknet
Date: Sat May  5 09:34:35 2012
New Revision: 235052
URL: http://svn.freebsd.org/changeset/base/235052

Log:
  Fix mount mutex handling missed in r234386.

Modified:
  head/sys/nfsclient/nfs_vfsops.c

Modified: head/sys/nfsclient/nfs_vfsops.c
==============================================================================
--- head/sys/nfsclient/nfs_vfsops.c	Sat May  5 07:55:50 2012	(r235051)
+++ head/sys/nfsclient/nfs_vfsops.c	Sat May  5 09:34:35 2012	(r235052)
@@ -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.


More information about the svn-src-all mailing list