Allan Jude 50a401cf43 MFC r347953:
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

Approved by:	re (gjb)
2019-06-06 05:09:43 +00:00
..
2017-09-27 15:06:46 +00:00
2019-06-06 05:09:43 +00:00
2018-10-03 02:52:47 +00:00
2018-10-03 02:52:47 +00:00
2018-10-03 02:52:47 +00:00
2018-10-03 02:52:47 +00:00
2015-10-15 22:55:08 +00:00