mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
pvchange: no need to initialize selection handle directly, process_each_pv will do that automatically
This commit is contained in:
parent
e1710f34bb
commit
1a72933143
@ -172,8 +172,7 @@ int pvchange(struct cmd_context *cmd, int argc, char **argv)
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(handle = init_processing_handle(cmd)) ||
|
if (!(handle = init_processing_handle(cmd))) {
|
||||||
(handle->internal_report_for_select && !init_selection_handle(cmd, handle, PVS))) {
|
|
||||||
log_error("Failed to initialize processing handle.");
|
log_error("Failed to initialize processing handle.");
|
||||||
ret = ECMD_FAILED;
|
ret = ECMD_FAILED;
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
Reference in New Issue
Block a user