Add missing initialization for do_prefix.

Corrects porting error in r238391

Vendor issue and changeset reference:
2883 changing "canmount" property to "on" should not always remount dataset
https://www.illumos.org/issues/2883
Changeset 13743:95aba6e49b9f

Reported by:	Guido Falsi <mad@madpilot.net>, avg
Obtained from:	illumos (issue #2883)
MFC after:	1 week
This commit is contained in:
Martin Matuska 2012-10-17 22:14:09 +00:00
parent aa21cf7851
commit 1048151528

View File

@ -1446,7 +1446,7 @@ zfs_prop_set(zfs_handle_t *zhp, const char *propname, const char *propval)
libzfs_handle_t *hdl = zhp->zfs_hdl;
nvlist_t *nvl = NULL, *realprops;
zfs_prop_t prop;
boolean_t do_prefix;
boolean_t do_prefix = B_TRUE;
uint64_t idx;
int added_resv;