From: Alasdair Kergon Date: Thu, 18 Sep 2008 22:55:33 +0000 (+0000) Subject: Fix last checkin - tested wrong dnode. X-Git-Tag: dm_v1_02_28^0 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=bc633e03aa21b7b7a09d546a026a72854c0658ff;p=lvm2.git Fix last checkin - tested wrong dnode. --- 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)