]> git.proxmox.com Git - mirror_zfs.git/commit
zdb -k does not work on Linux when used with -e
authorSerapheim Dimitropoulos <serapheimd@gmail.com>
Tue, 30 Oct 2018 16:46:18 +0000 (09:46 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 30 Oct 2018 16:46:18 +0000 (11:46 -0500)
commit0a544c174d54d9adcea2faf5817596174582139e
treee6dae62fe20d54d8313ce699784c83c33f2281e9
parent63a77ae3cff2eea8f7d92c5ab2ab99af664b34a5
zdb -k does not work on Linux when used with -e

This minor bug was introduced with the port of the feature from
OpenZFS to ZoL. This patch fixes the issue that was caused by
a minor re-ordering from the original code.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Tim Chase <tim@chase2k.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Closes #8001
cmd/zdb/zdb.c
tests/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zdb.ksh
tests/zfs-tests/tests/functional/pool_checkpoint/pool_checkpoint.kshlib