summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdm/libdm-deptree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/libdm-deptree.c b/libdm/libdm-deptree.c
index d687d8fa5..4b5876576 100644
--- a/libdm/libdm-deptree.c
+++ b/libdm/libdm-deptree.c
@@ -1551,7 +1551,7 @@ int dm_tree_preload_children(struct dm_tree_node *dnode,
}
/* Resume device immediately if it has parents and its size changed */
- if (!dm_tree_node_num_children(child, 1) || !dnode->props.size_changed)
+ if (!dm_tree_node_num_children(child, 1) || !child->props.size_changed)
continue;
if (!child->info.inactive_table && !child->info.suspended)