mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
toollib: restore command break support
Fix regression caused by c9f021de0b
.
This commit actually transfered real-action (e.g. device removal)
into the next loop which has however missed to check for break.
So add check for break also there.
This commit is contained in:
parent
c701d9cc8c
commit
347575df1d
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.141 -
|
Version 2.02.141 -
|
||||||
====================================
|
====================================
|
||||||
|
Restore support for command breaking in process_each_lv_in_vg() (2.02.118).
|
||||||
Use correct mempool when process_each_lv_in_vg() (2.02.118).
|
Use correct mempool when process_each_lv_in_vg() (2.02.118).
|
||||||
Fix lvm.8 man to show again prohibited suffixes.
|
Fix lvm.8 man to show again prohibited suffixes.
|
||||||
Fix configure to set proper use_blkid_wiping if autodetected as disabled.
|
Fix configure to set proper use_blkid_wiping if autodetected as disabled.
|
||||||
|
@ -2416,6 +2416,10 @@ int process_each_lv_in_vg(struct cmd_context *cmd, struct volume_group *vg,
|
|||||||
}
|
}
|
||||||
|
|
||||||
dm_list_iterate_items(lvl, &final_lvs) {
|
dm_list_iterate_items(lvl, &final_lvs) {
|
||||||
|
if (sigint_caught()) {
|
||||||
|
ret_max = ECMD_FAILED;
|
||||||
|
goto_out;
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
* FIXME: Once we have index over vg->removed_lvs, check directly
|
* FIXME: Once we have index over vg->removed_lvs, check directly
|
||||||
* LV presence there and remove LV_REMOVE flag/lv_is_removed fn
|
* LV presence there and remove LV_REMOVE flag/lv_is_removed fn
|
||||||
|
Loading…
Reference in New Issue
Block a user