summaryrefslogtreecommitdiff
path: root/tools/toollib.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2014-10-03 23:37:49 +0100
committerAlasdair G Kergon <agk@redhat.com>2014-10-03 23:37:49 +0100
commit91615603cdc7974047103c4c6f6af7e56f97437b (patch)
tree67c27bd77d71587de2d0b99b949e3075d8486391 /tools/toollib.h
parentbfb6a4ecc6ad7bb06649ffd026d9c997443dd684 (diff)
downloadlvm2-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/toollib.h')
-rw-r--r--tools/toollib.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/toollib.h b/tools/toollib.h
index 8aa82e067..1a14d6014 100644
--- a/tools/toollib.h
+++ b/tools/toollib.h
@@ -86,9 +86,8 @@ int process_each_pv_in_vg(struct cmd_context *cmd, struct volume_group *vg,
int process_each_lv_in_vg(struct cmd_context *cmd,
struct volume_group *vg,
- const struct dm_list *arg_lvnames,
+ struct dm_list *arg_lvnames,
const struct dm_list *tagsl,
- struct dm_list *failed_lvnames,
void *handle,
process_single_lv_fn_t process_single_lv);