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