1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

pvchange: no need to initialize selection handle directly, process_each_pv will do that automatically

This commit is contained in:
Peter Rajnoha 2015-02-13 09:28:24 +01:00
parent e1710f34bb
commit 1a72933143

View File

@ -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;