mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
cleanup: tab indent
This commit is contained in:
parent
6bf6430ae9
commit
ce8ebda3fc
@ -4725,7 +4725,7 @@ int lv_remove_with_dependencies(struct cmd_context *cmd, struct logical_volume *
|
|||||||
yes_no_prompt("Removing origin %s will also remove %u "
|
yes_no_prompt("Removing origin %s will also remove %u "
|
||||||
"snapshots(s). Proceed? [y/n]: ",
|
"snapshots(s). Proceed? [y/n]: ",
|
||||||
lv->name, lv->origin_count) == 'n')
|
lv->name, lv->origin_count) == 'n')
|
||||||
goto no_remove;
|
goto no_remove;
|
||||||
|
|
||||||
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,
|
||||||
@ -4762,7 +4762,7 @@ int lv_remove_with_dependencies(struct cmd_context *cmd, struct logical_volume *
|
|||||||
(yes_no_prompt("Removal of pool metadata spare logical volume \"%s\" "
|
(yes_no_prompt("Removal of pool metadata spare logical volume \"%s\" "
|
||||||
"disables automatic recovery attempts after damage "
|
"disables automatic recovery attempts after damage "
|
||||||
"to a thin pool. Proceed? [y/n]: ", lv->name) == 'n'))
|
"to a thin pool. Proceed? [y/n]: ", lv->name) == 'n'))
|
||||||
goto no_remove;
|
goto no_remove;
|
||||||
|
|
||||||
return lv_remove_single(cmd, lv, force);
|
return lv_remove_single(cmd, lv, force);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user