Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2012 09:34:35 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235052 - head/sys/nfsclient
Message-ID:  <201205050934.q459YZol049092@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205050934.q459YZol049092>