1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-07 18:00:49 +03:00

Suppress unnecessary resumes.

This commit is contained in:
Alasdair Kergon 2005-11-22 19:31:20 +00:00
parent ec289b64b9
commit 7707ea90f4

View File

@ -1418,6 +1418,9 @@ int dm_tree_preload_children(struct dm_tree_node *dnode,
if (!dm_tree_node_num_children(child, 1))
continue;
if (!child->info.inactive_table && !child->info.suspended)
continue;
if (!_resume_node(name, child->info.major, child->info.minor, &newinfo)) {
log_error("Unable to resume %s (%" PRIu32
":%" PRIu32 ")", name, child->info.major,