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.
*/
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"