master - pvchange: no need to initialize selection handle directly, process_each_pv will do that automatically
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=1a729331432167008f4298903adb78d75abb267c Commit: 1a729331432167008f4298903adb78d75abb267c Parent: e1710f34bbbb46f8f6c6cc7ba284a4cbdac6dc2e Author: Peter Rajnoha <[email protected]> AuthorDate: Fri Feb 13 09:28:24 2015 +0100 Committer: Peter Rajnoha <[email protected]> CommitterDate: Fri Feb 13 09:29:30 2015 +0100
pvchange: no need to initialize selection handle directly, process_each_pv will do that automatically
--- tools/pvchange.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
tools/pvchange.c +1 -2
@@ -172,8 +172,7 @@ int pvchange(struct cmd_context *cmd, int argc, char **argv) goto out; } -if (!(handle =init_processing_handle (cmd)) || - (handle->internal_report_for_select && !init_selection_handle (cmd, handle,PVS ))) { +if (!(handle =init_processing_handle (cmd))) {log_error ("Failed to initialize processing handle." ); ret =ECMD_FAILED ; goto out;