diff options
author | Petr Rockai <prockai@redhat.com> | 2013-07-29 19:14:51 +0200 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2013-07-29 19:16:27 +0200 |
commit | bccb1e80345b800dcabef847963c9b74350d30cd (patch) | |
tree | b853dde4645e5dcfcc17399f387728e8d2c2afed | |
parent | 4c95d5cc9f27a28b748273d879dc24177ac269f0 (diff) | |
download | lvm2-bccb1e80345b800dcabef847963c9b74350d30cd.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) |