diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2019-10-16 06:26:51 +0000 |
---|---|---|
committer | Andriy Gapon <avg@FreeBSD.org> | 2019-10-16 06:26:51 +0000 |
commit | 6cb9ab2bad02615ce39526ccdf1b58b63da4d155 (patch) | |
tree | 8aa9f21e29df0a7268ebf9dfeca9d3938c94e71f /cddl/contrib | |
parent | b399ca755a71c0de0c7963b509a15260aaa07a99 (diff) | |
parent | b7cab79de23a8bfb689bfb5bddb4deb2e09b360d (diff) | |
download | src-test2-6cb9ab2bad02615ce39526ccdf1b58b63da4d155.tar.gz src-test2-6cb9ab2bad02615ce39526ccdf1b58b63da4d155.zip |
Notes
Diffstat (limited to 'cddl/contrib')
-rw-r--r-- | cddl/contrib/opensolaris/cmd/zdb/zdb.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cddl/contrib/opensolaris/cmd/zdb/zdb.c b/cddl/contrib/opensolaris/cmd/zdb/zdb.c index f02c2af5ef5f..2ff94970f26c 100644 --- a/cddl/contrib/opensolaris/cmd/zdb/zdb.c +++ b/cddl/contrib/opensolaris/cmd/zdb/zdb.c @@ -901,11 +901,8 @@ dump_metaslab(metaslab_t *msp) if (dump_opt['m'] > 2 && !dump_opt['L']) { mutex_enter(&msp->ms_lock); - metaslab_load_wait(msp); - if (!msp->ms_loaded) { - VERIFY0(metaslab_load(msp)); - range_tree_stat_verify(msp->ms_allocatable); - } + VERIFY0(metaslab_load(msp)); + range_tree_stat_verify(msp->ms_allocatable); dump_metaslab_stats(msp); metaslab_unload(msp); mutex_exit(&msp->ms_lock); |