diff options
author | David Teigland <teigland@redhat.com> | 2014-10-07 00:53:56 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2014-10-07 01:15:43 +0100 |
commit | e458fc9a6a3a82231367450b5f54f3c12700cd20 (patch) | |
tree | eece856c5f87bca9a47ac5cf38da4e7ba8df531f /tools/toollib.h | |
parent | f1a000a477558e157532d5f2cd2f9c9139d4f87c (diff) | |
download | lvm2-e458fc9a6a3a82231367450b5f54f3c12700cd20.tar.gz |
vgreduce: Use process_each_pv.
Adapt process_each_pv for use by vgreduce in the non-repair case.
[Committed by agk with cosmetic changes and tweaks.]
Diffstat (limited to 'tools/toollib.h')
-rw-r--r-- | tools/toollib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/toollib.h b/tools/toollib.h index 483ac6813..5b42f2846 100644 --- a/tools/toollib.h +++ b/tools/toollib.h @@ -49,7 +49,7 @@ int process_each_vg(struct cmd_context *cmd, int argc, char **argv, process_single_vg_fn_t process_single_vg); int process_each_pv(struct cmd_context *cmd, int argc, char **argv, - struct volume_group *vg, uint32_t lock_type, + const char *vg_name, uint32_t lock_type, void *handle, process_single_pv_fn_t process_single_pv); int process_each_label(struct cmd_context *cmd, int argc, char **argv, |