freebsd-dev/cddl/contrib/opensolaris
Allan Jude 19a9d4fa28 MFV/ZoL: zfs userspace ignored all unresolved UIDs after the first
zfsonlinux/zfs@88cfff1824

zfs_main: fix `zfs userspace` squashing unresolved entries

The `zfs userspace` squashes all entries with unresolved numeric
values into a single output entry due to the comparsion always
made by the string name which is empty in case of unresolved IDs.

Fix this by falling to a numerical comparison when either one
of string values is not found. This then compares any numerical
values after all with a name resolved.

Signed-off-by: Pavel Boldin <boldin.pavel@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Reported by:	clusteradm
Obtained from:	ZFS-on-Linux
MFC after:	3 days
2019-05-18 12:27:22 +00:00
..
cmd MFV/ZoL: zfs userspace ignored all unresolved UIDs after the first 2019-05-18 12:27:22 +00:00
common libctf: Don't construct pointers to out of bounds array offsets 2018-03-26 22:02:36 +00:00
head MFV r270197: 2014-08-22 22:13:36 +00:00
lib Fix regression introduced in r344569 2019-02-27 07:55:53 +00:00
tools/ctf Increase ctfconvert buffer size 2019-02-25 18:52:47 +00:00
OPENSOLARIS.LICENSE