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

debug: missing backtraces

This commit is contained in:
Zdenek Kabelac 2023-02-16 13:14:33 +01:00
parent 7bc5c8ac3d
commit 3ef26494f2

View File

@ -4905,7 +4905,7 @@ static int _lvconvert_merge_thin_single(struct cmd_context *cmd,
struct processing_handle *handle)
{
if (!_lvconvert_merge_thin_snapshot(cmd, lv))
return ECMD_FAILED;
return_ECMD_FAILED;
return ECMD_PROCESSED;
}
@ -4968,11 +4968,11 @@ static int _lvconvert_split_cache_single(struct cmd_context *cmd,
/* If LV is inactive here, ensure it's not active elsewhere. */
if (!lockd_lv(cmd, lv_main, "ex", 0))
return ECMD_FAILED;
return_ECMD_FAILED;
if (lv_is_writecache(lv_main)) {
if (!_lvconvert_detach_writecache(cmd, handle, lv_main, lv_fast))
return ECMD_FAILED;
return_ECMD_FAILED;
if (cmd->command->command_enum == lvconvert_split_and_remove_cache_CMD) {
struct lvconvert_result *lr = (struct lvconvert_result *) handle->custom_handle;
@ -4985,7 +4985,7 @@ static int _lvconvert_split_cache_single(struct cmd_context *cmd,
*/
if (!lr->wait_cleaner_writecache) {
if (lvremove_single(cmd, lv_fast, NULL) != ECMD_PROCESSED)
return ECMD_FAILED;
return_ECMD_FAILED;
}
}
ret = 1;
@ -5255,7 +5255,8 @@ static int _lvconvert_change_region_size_single(struct cmd_context *cmd, struct
{
if (!lv_raid_change_region_size(lv, arg_is_set(cmd, yes_ARG), arg_count(cmd, force_ARG),
arg_int_value(cmd, regionsize_ARG, 0)))
return ECMD_FAILED;
return_ECMD_FAILED;
return ECMD_PROCESSED;
}
@ -5334,7 +5335,7 @@ static int _lvconvert_merge_mirror_images_single(struct cmd_context *cmd,
struct processing_handle *handle)
{
if (!lv_raid_merge(lv))
return ECMD_FAILED;
return_ECMD_FAILED;
return ECMD_PROCESSED;
}