Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2010 22:01:26 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216627 - head/sys/nfsserver
Message-ID:  <201012212201.oBLM1QSp076709@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Tue Dec 21 22:01:26 2010
New Revision: 216627
URL: http://svn.freebsd.org/changeset/base/216627

Log:
  After r216626 no extra { } are needed with VFS_UNLOCK_GIANT().

Modified:
  head/sys/nfsserver/nfs_srvsubs.c

Modified: head/sys/nfsserver/nfs_srvsubs.c
==============================================================================
--- head/sys/nfsserver/nfs_srvsubs.c	Tue Dec 21 21:59:21 2010	(r216626)
+++ head/sys/nfsserver/nfs_srvsubs.c	Tue Dec 21 22:01:26 2010	(r216627)
@@ -1166,9 +1166,9 @@ out:
 	if (credanon != NULL)
 		crfree(credanon);
 
-	if (error) {
+	if (error)
 		VFS_UNLOCK_GIANT(vfslocked);
-	} else
+	else
 		*vfslockedp = vfslocked;
 	return (error);
 }



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