]> granicus.if.org Git - zfs/commit
Fixed zdb -e regression for active cacheless pools
authorDon Brady <don.brady@intel.com>
Mon, 24 Apr 2017 17:31:45 +0000 (11:31 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 24 Apr 2017 17:31:45 +0000 (10:31 -0700)
commite102363a663802082775edf2460d4af7e7fd6e47
treec85b74b3df8fb71539639cd31ec03fb23166cb17
parent6e03ec4fa26110dcdf817401a375399f3432ae21
Fixed zdb -e regression for active cacheless pools

zdb -e for active cache-less pools fails:

$ sudo zpool create -o cachefile=none basic mirror sdk sdl
$ sudo zdb -e -b basic
zdb: can't open 'basic': No such file or directory

This is a recent regression introduce by commit c30d8de.

Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Don Brady <don.brady@intel.com>
Closes #6059
lib/libzfs/libzfs_import.c