svn commit: r206640 - in stable/8/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

Andriy Gapon avg at freebsd.org
Thu Apr 15 05:56:28 UTC 2010


on 15/04/2010 04:20 Xin LI said the following:
> Author: delphij
> Date: Thu Apr 15 01:20:30 2010
> New Revision: 206640
> URL: http://svn.freebsd.org/changeset/base/206640
> 
> Log:
>   MFC r205198:
>   
>   Merge OpenSolaris revision 8802:010b31dd4c53:
>   
>   6773366 "zfs list" memory consumption can be further reduced
>   
>   PR:		bin/144720
>   Submitted by:	mm


I wonder why you haven't also included into this MFC the commit that fixes crash
with user properties.
I think it's not nice to MFC a change with a known bug without a fix.


> +	while (curr) {
> +		zfs_prop_t zfs_prop = zfs_name_to_prop(nvpair_name(curr));
> +		nvpair_t *next = nvlist_next_nvpair(zhp->zfs_props, curr);
> +
> +		if (props[zfs_prop] == B_FALSE)

zfs_prop can be -1 here, remember?

-- 
Andriy Gapon


More information about the svn-src-all mailing list