diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-11-27 15:02:13 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2015-02-10 16:05:24 +0100 |
commit | 51d96a170314b7ce75f233d42501262805384770 (patch) | |
tree | da64397e4a7903edd59743b78a43e385dda83a19 /tools/vgremove.c | |
parent | 2a19866a74c5101d262586ad0e08317e9a514977 (diff) | |
download | lvm2-51d96a170314b7ce75f233d42501262805384770.tar.gz |
toollib: replace void *handle with struct processing_handle for use in processing functions (process_each_*/process_single_* and related)
This patch replaces "void *handle" with "struct processing_handle *handle"
in process_each_*, process_single_* and related functions.
The struct processing_handle consists of two handles inside now:
- the "struct selection_handle *selection_handle" used for
applying selection criteria while processing process_each_*,
process_single_* and related functions (patches using this
logic will follow)
- the "void* custom_handle" (this is actually the original handle
used before this patch - a pointer to custom data passed into
process_each_*, process_single_* and related functions).
Diffstat (limited to 'tools/vgremove.c')
-rw-r--r-- | tools/vgremove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgremove.c b/tools/vgremove.c index 1dce41f24..315e1dcfb 100644 --- a/tools/vgremove.c +++ b/tools/vgremove.c @@ -17,7 +17,7 @@ static int vgremove_single(struct cmd_context *cmd, const char *vg_name, struct volume_group *vg, - void *handle __attribute__((unused))) + struct processing_handle *handle __attribute__((unused))) { /* * Single force is equivalent to sinle --yes |