From 598cf4ad828bc8411deb4cc0f8c7d6c9f484389c Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 18 Sep 2008 22:55:33 +0000 Subject: [PATCH] Fix last checkin - tested wrong dnode. --- lib/libdm-deptree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libdm-deptree.c b/lib/libdm-deptree.c index d687d8f..4b58765 100644 --- a/lib/libdm-deptree.c +++ b/lib/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) -- 2.43.5