summaryrefslogtreecommitdiff
path: root/cddl/contrib
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2019-10-16 06:26:51 +0000
committerAndriy Gapon <avg@FreeBSD.org>2019-10-16 06:26:51 +0000
commit6cb9ab2bad02615ce39526ccdf1b58b63da4d155 (patch)
tree8aa9f21e29df0a7268ebf9dfeca9d3938c94e71f /cddl/contrib
parentb399ca755a71c0de0c7963b509a15260aaa07a99 (diff)
parentb7cab79de23a8bfb689bfb5bddb4deb2e09b360d (diff)
downloadsrc-test2-6cb9ab2bad02615ce39526ccdf1b58b63da4d155.tar.gz
src-test2-6cb9ab2bad02615ce39526ccdf1b58b63da4d155.zip
Notes
Diffstat (limited to 'cddl/contrib')
-rw-r--r--cddl/contrib/opensolaris/cmd/zdb/zdb.c7
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);