aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2018-02-01 16:36:40 -0800
committerBrian Behlendorf <[email protected]>2018-02-09 10:11:34 -0800
commiteb9c4532dda34bcf0612c2c797cb3fcab9a21b4f (patch)
tree54660cc9cc34123d0916bc915db406c190bf8920 /module
parent5e3bd0e684a3c32bd22647938247ac3699c5372a (diff)
Fix zdb -ed on objset for exported pool
zdb -ed on objset for exported pool would failed with: failed to own dataset 'qq/fs0': No such file or directory The reason is that zdb pass objset name to spa_import, it uses that name to create a spa. Later, when dmu_objset_own tries to lookup the spa using real pool name, it can't find one. We fix this by make sure we pass pool name rather than objset name to spa_import. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: loli10K <[email protected]> Signed-off-by: Chunwei Chen <[email protected]> Closes #7099 Closes #6464
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions