diff options
author | David Teigland <teigland@redhat.com> | 2014-10-03 23:37:49 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2014-10-03 23:37:49 +0100 |
commit | 91615603cdc7974047103c4c6f6af7e56f97437b (patch) | |
tree | 67c27bd77d71587de2d0b99b949e3075d8486391 /tools/vgdisplay.c | |
parent | bfb6a4ecc6ad7bb06649ffd026d9c997443dd684 (diff) | |
download | lvm2-91615603cdc7974047103c4c6f6af7e56f97437b.tar.gz |
toollib: Rewrite process_each_lv.
Copy the same form as the new process_each_vg.
Replace unused struct cmd_vg and cmd_vg_read() replicator
code with struct vg and vg_read() directly.
The failed_lvnames arg is no longer used since the
cmd_vg replicator wrapper was removed.
[Committed by agk with cosmetic changes and tweaks.]
Diffstat (limited to 'tools/vgdisplay.c')
-rw-r--r-- | tools/vgdisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgdisplay.c b/tools/vgdisplay.c index a739d1181..39cdaf386 100644 --- a/tools/vgdisplay.c +++ b/tools/vgdisplay.c @@ -39,7 +39,7 @@ static int vgdisplay_single(struct cmd_context *cmd, const char *vg_name, if (arg_count(cmd, verbose_ARG)) { vgdisplay_extents(vg); - process_each_lv_in_vg(cmd, vg, NULL, NULL, NULL, NULL, + process_each_lv_in_vg(cmd, vg, NULL, NULL, NULL, (process_single_lv_fn_t)lvdisplay_full); log_print("--- Physical volumes ---"); |