Date: Tue, 31 May 2011 17:24:18 +0000 (UTC) From: Will Andrews <will@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r222536 - stable/8/cddl/compat/opensolaris/misc Message-ID: <201105311724.p4VHOIFT033078@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: will Date: Tue May 31 17:24:18 2011 New Revision: 222536 URL: http://svn.freebsd.org/changeset/base/222536 Log: MFC r222313: Close a race between libzfs and mountd when updating NFS exports. Reviewed by: pjd Approved by: ken Modified: stable/8/cddl/compat/opensolaris/misc/fsshare.c Directory Properties: stable/8/cddl/compat/opensolaris/ (props changed) Modified: stable/8/cddl/compat/opensolaris/misc/fsshare.c ============================================================================== --- stable/8/cddl/compat/opensolaris/misc/fsshare.c Tue May 31 17:14:06 2011 (r222535) +++ stable/8/cddl/compat/opensolaris/misc/fsshare.c Tue May 31 17:24:18 2011 (r222536) @@ -221,6 +221,7 @@ out: error = errno; unlink(tmpfile); } else { + fflush(newfd); /* * Send SIGHUP to mountd, but unlock exports file later. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105311724.p4VHOIFT033078>