Date: Wed, 17 Oct 2012 22:14:10 +0000 (UTC) From: Martin Matuska <mm@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241655 - head/cddl/contrib/opensolaris/lib/libzfs/common Message-ID: <201210172214.q9HMEAQo075828@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mm Date: Wed Oct 17 22:14:09 2012 New Revision: 241655 URL: http://svn.freebsd.org/changeset/base/241655 Log: 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 Modified: head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c Modified: head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c ============================================================================== --- head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c Wed Oct 17 21:53:38 2012 (r241654) +++ head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c Wed Oct 17 22:14:09 2012 (r241655) @@ -1446,7 +1446,7 @@ zfs_prop_set(zfs_handle_t *zhp, const ch 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210172214.q9HMEAQo075828>