OpenZFS 6866 - zdb -l non-zero status if no label
commit35a357a9efe1be317d41f926732e38e18644a830
authorDon Brady <don.brady@intel.com>
Fri, 3 Feb 2017 22:18:28 +0000 (3 15:18 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 3 Feb 2017 22:18:28 +0000 (3 14:18 -0800)
treeae30539ee4887ef13c05b54c0cf7ac0f75feaa0c
parentdffaa61ded206d620a0db88231e56aece56b8422
OpenZFS 6866 - zdb -l non-zero status if no label

Authored by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Ported-by: Don Brady <don.brady@intel.com>
OpenZFS-issue: https://www.illumos.org/issues/6866
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/3e4fae5
Closes #5730

Porting Notes:
- Omitted the illumos-specific `/dev/dsk` and `/dev/rdsk`
path conversions since they don't apply on linux.
cmd/zdb/zdb.c
man/man8/zdb.8
tests/zfs-tests/tests/functional/cli_root/zdb/zdb_001_neg.ksh