1
0
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:
Petr Rockai 2013-07-29 19:14:51 +02:00
parent 99214c51eb
commit 67a7b7a87d

View File

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