1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Just replace stack, return 0 with return_0

This commit is contained in:
Zdenek Kabelac 2011-10-20 10:39:07 +00:00
parent f857b3064f
commit 3d6782b3ff

View File

@ -2266,19 +2266,13 @@ int dm_tree_preload_children(struct dm_tree_node *dnode,
return_0; return_0;
/* FIXME Cope if name exists with no uuid? */ /* FIXME Cope if name exists with no uuid? */
if (!child->info.exists) { if (!child->info.exists && !_create_node(child))
if (!_create_node(child)) { return_0;
stack;
return 0;
}
}
if (!child->info.inactive_table && child->props.segment_count) { if (!child->info.inactive_table &&
if (!_load_node(child)) { child->props.segment_count &&
stack; !_load_node(child))
return 0; return_0;
}
}
/* Propagate device size change change */ /* Propagate device size change change */
if (child->props.size_changed) if (child->props.size_changed)