Files
mirror_zfs/tests/zfs-tests/tests/functional/cli_root
Chunwei Chen 478754a8f5 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 <behlendorf1@llnl.gov>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: Chunwei Chen <david.chen@nutanix.com>
Closes #7099
Closes #6464
2018-03-14 16:10:37 -07:00
..
2017-05-11 14:27:57 -07:00
2017-05-22 12:34:32 -04:00
2017-05-22 12:34:32 -04:00
2017-08-02 11:20:32 -07:00
2017-05-22 12:34:32 -04:00
2017-05-22 12:34:32 -04:00
2017-05-11 14:27:57 -07:00
2017-05-03 09:31:05 -07:00
2017-05-22 12:34:32 -04:00
2017-05-11 14:27:57 -07:00
2017-07-13 13:54:00 -04:00
2017-06-13 09:05:55 -07:00
2017-05-03 09:31:05 -07:00
2017-05-03 09:31:05 -07:00
2017-05-19 12:33:11 -07:00
2017-05-19 12:33:11 -07:00