diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2010-04-13 17:25:13 +0000 |
---|---|---|
committer | Dave Wysochanski <dwysocha@redhat.com> | 2010-04-13 17:25:13 +0000 |
commit | f6644ff8fe53208455a8b845796dde96f3aee870 (patch) | |
tree | 98fe717518bb707a60b45500e0e513fcdb40b768 /lib/format_pool/disk_rep.h | |
parent | 94b713df08b05141a50beb201c33173cdf5d65f5 (diff) | |
download | lvm2-f6644ff8fe53208455a8b845796dde96f3aee870.tar.gz lvm2-f6644ff8fe53208455a8b845796dde96f3aee870.tar.xz lvm2-f6644ff8fe53208455a8b845796dde96f3aee870.zip |
Remove unnecessary parameter from import_pool_pvs().
The dm_list * parameter is unnecessary since we are passing in 'vg'
and the only caller of import_pool_pvs() passes '&vg->pvs' in the
dm_list * parameter. Just use vg->pvs directly in the function.
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Diffstat (limited to 'lib/format_pool/disk_rep.h')
-rw-r--r-- | lib/format_pool/disk_rep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/format_pool/disk_rep.h b/lib/format_pool/disk_rep.h index fb33cd88..fff73436 100644 --- a/lib/format_pool/disk_rep.h +++ b/lib/format_pool/disk_rep.h @@ -141,7 +141,7 @@ int import_pool_vg(struct volume_group *vg, struct dm_pool *mem, struct dm_list int import_pool_lvs(struct volume_group *vg, struct dm_pool *mem, struct dm_list *pls); int import_pool_pvs(const struct format_type *fmt, struct volume_group *vg, - struct dm_list *pvs, struct dm_pool *mem, struct dm_list *pls); + struct dm_pool *mem, struct dm_list *pls); int import_pool_pv(const struct format_type *fmt, struct dm_pool *mem, struct volume_group *vg, struct physical_volume *pv, struct pool_list *pl); |