libbe(3): Copy received properties as well
This was inherently broken on send|recv datasets. Reported and tested by: Wes Maag <jwmaag gmail com> MFC after: 3 days
This commit is contained in:
parent
73416eeccd
commit
be13d48c66
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346680
@ -431,8 +431,12 @@ be_deep_clone_prop(int prop, void *cb)
|
||||
/* Just continue if we fail to read a property */
|
||||
return (ZPROP_CONT);
|
||||
|
||||
/* Only copy locally defined properties */
|
||||
if (src != ZPROP_SRC_LOCAL)
|
||||
/*
|
||||
* Only copy locally defined or received properties. This continues
|
||||
* to avoid temporary/default/local properties intentionally without
|
||||
* breaking received datasets.
|
||||
*/
|
||||
if (src != ZPROP_SRC_LOCAL && src != ZPROP_SRC_RECEIVED)
|
||||
return (ZPROP_CONT);
|
||||
|
||||
/* Augment mountpoint with altroot, if needed */
|
||||
|
Loading…
Reference in New Issue
Block a user