Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2010 08:59:27 +0300
From:      Andriy Gapon <avg@freebsd.org>
To:        Xin LI <delphij@freebsd.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   Re: svn commit: r206642 - in stable/8/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common
Message-ID:  <4BC6AB3F.6090605@freebsd.org>
In-Reply-To: <201004150125.o3F1PHAT044831@svn.freebsd.org>
References:  <201004150125.o3F1PHAT044831@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 15/04/2010 04:25 Xin LI said the following:
> Author: delphij
> Date: Thu Apr 15 01:25:17 2010
> New Revision: 206642
> URL: http://svn.freebsd.org/changeset/base/206642
> 
> Log:
>   MFC r205200 + r206199
>   
>   Merge OpenSolaris revision 9396:f41cf682d0d3:
>   
>   6830813 zfs list -t all fails assertion
>   
>   *Note that this is only a partial merge of this revision addressing only
>   this one issue.*
>   
>   PR:		bin/144720
>   Submitted by:	mm

Oh here it is :)
The window between the commits is sufficiently small, but I still think that it
would have been better to MFC the fix in one go.

> -		if (props[zfs_prop] == B_FALSE)
> +		/*
> +		 * We leave user:props in the nvlist, so there will be
> +		 * some ZPROP_INVAL.  To be extra safe, don't prune
> +		 * those.
> +		 */
> +		if (zfs_prop != ZPROP_INVAL && props[zfs_prop] == B_FALSE)
>  			(void) nvlist_remove(zhp->zfs_props,
>  			    nvpair_name(curr), nvpair_type(curr));
>  		curr = next;


-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC6AB3F.6090605>