diff options
author | mm <mm@FreeBSD.org> | 2012-10-17 22:14:09 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2012-10-17 22:14:09 +0000 |
commit | c67bd49a18429859e23c1e1210718ffd8ce5113f (patch) | |
tree | 8931c0fee024214edfe14f76ab7ba6abe01e1f09 /cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c | |
parent | aee017397db7c8df42dfdf54e81ac4a7b5d309ae (diff) | |
download | FreeBSD-src-c67bd49a18429859e23c1e1210718ffd8ce5113f.zip FreeBSD-src-c67bd49a18429859e23c1e1210718ffd8ce5113f.tar.gz |
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
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c index 2261978..1696cb1 100644 --- a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c +++ b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c @@ -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; |