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/vgimport.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/vgimport.c')
-rw-r--r-- | tools/vgimport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgimport.c b/tools/vgimport.c index 7cb93378f..857f4a9fc 100644 --- a/tools/vgimport.c +++ b/tools/vgimport.c @@ -18,7 +18,7 @@ static int vgimport_single(struct cmd_context *cmd __attribute__((unused)), const char *vg_name, struct volume_group *vg, - void *handle __attribute__((unused))) + struct processing_handle *handle __attribute__((unused))) { struct pv_list *pvl; struct physical_volume *pv; |