freebsd-dev/sys/cddl/contrib/opensolaris/uts
Andriy Gapon 9c5c3cafbd zfs: fix sa_modify_attrs handling of variable-sized attributes
- skip length_idx index for a replaced variable-sized attribute
- skip length_idx index for a removed variable-sized attribute
- also re-arranged code to make sure that length_idx is always
  incremented for variable-sized attributes
- additionally add an assertion that the number of actually produced
  attributes is the same as the expected number of resulting
  attributes

In cooperation with:	Matthew Ahrens <mahrens@delphix.com>
Tested by:	Trent Nelson <trent@snakebite.org>
Reviewed by:	Matthew Ahrens <mahrens@delphix.com> (for upstream)
To do:		get this upstreamed
MFC after:	2 weeks
2012-09-11 07:07:52 +00:00
..
common zfs: fix sa_modify_attrs handling of variable-sized attributes 2012-09-11 07:07:52 +00:00
intel Replace fasttrap_copyout() with uwrite(). FreeBSD copyout() is not able to 2011-11-07 01:55:58 +00:00
mips Add MIPS support to cddl/contrib part: 2012-03-24 04:52:18 +00:00
sparc In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00