diff options
author | Petr Rockai <prockai@redhat.com> | 2013-07-29 19:14:51 +0200 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2013-08-28 14:54:32 +0200 |
commit | 179a8fbab90631967d6619434c1028e11d9deaa7 (patch) | |
tree | 9e29ed84db5b2507c2bdcd5d9567adf920121f7d | |
parent | 959d10fc547d93662e77eaf444ea891e9be48d89 (diff) | |
download | lvm2-179a8fbab90631967d6619434c1028e11d9deaa7.tar.gz |
report: Iterate over labels instead of PVs for label-only reports.
-rw-r--r-- | tools/reporter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/reporter.c b/tools/reporter.c index 6bf204884..5602883fb 100644 --- a/tools/reporter.c +++ b/tools/reporter.c @@ -362,8 +362,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) |