1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Add missing stack reporting

also remove unneeded {}
This commit is contained in:
Zdenek Kabelac 2011-11-12 22:53:23 +00:00
parent 3af072cc63
commit dd0c58c69b

View File

@ -3248,12 +3248,11 @@ int lv_remove_with_dependencies(struct cmd_context *cmd, struct logical_volume *
if (lv_is_origin(lv)) { if (lv_is_origin(lv)) {
/* remove snapshot LVs first */ /* remove snapshot LVs first */
dm_list_iterate_safe(snh, snht, &lv->snapshot_segs) { dm_list_iterate_safe(snh, snht, &lv->snapshot_segs)
if (!lv_remove_with_dependencies(cmd, dm_list_struct_base(snh, struct lv_segment, if (!lv_remove_with_dependencies(cmd, dm_list_struct_base(snh, struct lv_segment,
origin_list)->cow, origin_list)->cow,
force, level + 1)) force, level + 1))
return 0; return_0;
}
} }
if (lv_is_used_thin_pool(lv)) { if (lv_is_used_thin_pool(lv)) {