summaryrefslogtreecommitdiff
path: root/tools/vgdisplay.c
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2014-11-27 15:02:13 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2015-02-10 16:05:24 +0100
commit51d96a170314b7ce75f233d42501262805384770 (patch)
treeda64397e4a7903edd59743b78a43e385dda83a19 /tools/vgdisplay.c
parent2a19866a74c5101d262586ad0e08317e9a514977 (diff)
downloadlvm2-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/vgdisplay.c')
-rw-r--r--tools/vgdisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgdisplay.c b/tools/vgdisplay.c
index 59d741ad8..3c34727e6 100644
--- a/tools/vgdisplay.c
+++ b/tools/vgdisplay.c
@@ -17,7 +17,7 @@
static int vgdisplay_single(struct cmd_context *cmd, const char *vg_name,
struct volume_group *vg,
- void *handle __attribute__((unused)))
+ struct processing_handle *handle __attribute__((unused)))
{
if (arg_count(cmd, activevolumegroups_ARG) && !lvs_in_vg_activated(vg))
return ECMD_PROCESSED;