svn commit: r298265 - stable/9/cddl/contrib/opensolaris/lib/libzfs/common

Andriy Gapon avg at FreeBSD.org
Tue Apr 19 12:14:54 UTC 2016


Author: avg
Date: Tue Apr 19 12:14:52 2016
New Revision: 298265
URL: https://svnweb.freebsd.org/changeset/base/298265

Log:
  MFC r297520: zfs receive: -u can be ignored sometimes
  
  PR:		204705

Modified:
  stable/9/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
Directory Properties:
  stable/9/cddl/contrib/opensolaris/lib/libzfs/   (props changed)

Modified: stable/9/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
==============================================================================
--- stable/9/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c	Tue Apr 19 12:14:15 2016	(r298264)
+++ stable/9/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c	Tue Apr 19 12:14:52 2016	(r298265)
@@ -3105,7 +3105,8 @@ zfs_receive_one(libzfs_handle_t *hdl, in
 	}
 
 	if (clp) {
-		err |= changelist_postfix(clp);
+		if (!flags->nomount)
+			err |= changelist_postfix(clp);
 		changelist_free(clp);
 	}
 


More information about the svn-src-stable-9 mailing list