mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
report: Iterate over labels instead of PVs for label-only reports.
This commit is contained in:
parent
99214c51eb
commit
67a7b7a87d
@ -391,8 +391,8 @@ static int _report(struct cmd_context *cmd, int argc, char **argv,
|
||||
report_handle, &_vgs_single);
|
||||
break;
|
||||
case LABEL:
|
||||
r = process_each_pv(cmd, argc, argv, NULL, READ_WITHOUT_LOCK,
|
||||
1, report_handle, &_label_single);
|
||||
r = process_each_label(cmd, argc, argv,
|
||||
report_handle, &_label_single);
|
||||
break;
|
||||
case PVS:
|
||||
if (args_are_pvs)
|
||||
|
Loading…
Reference in New Issue
Block a user