diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2009-11-01 20:03:24 +0000 |
---|---|---|
committer | Dave Wysochanski <dwysocha@redhat.com> | 2009-11-01 20:03:24 +0000 |
commit | 2a924b3eaf972877a1b9b04eacafe096783d9bb7 (patch) | |
tree | 557fde064552919fba87e8e3d807d97e9cf9b3da /tools/toollib.h | |
parent | c6ea6bf5b79eb8e25e9499435a6433ef23e59488 (diff) | |
download | lvm2-2a924b3eaf972877a1b9b04eacafe096783d9bb7.tar.gz lvm2-2a924b3eaf972877a1b9b04eacafe096783d9bb7.tar.xz lvm2-2a924b3eaf972877a1b9b04eacafe096783d9bb7.zip |
Rename fill_vg_create_params to vgcreate_params_set_from_args.
Rename fill_vg_create_params to vgcreate_params_set_from_args and remove
vg_name parameter from function (caller must set before calling function).
Diffstat (limited to 'tools/toollib.h')
-rw-r--r-- | tools/toollib.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/toollib.h b/tools/toollib.h index e6b08d28..4743fd59 100644 --- a/tools/toollib.h +++ b/tools/toollib.h @@ -101,10 +101,9 @@ int is_reserved_lvname(const char *name); void vgcreate_params_set_defaults(struct vgcreate_params *vp_def, struct volume_group *vg); -int fill_vg_create_params(struct cmd_context *cmd, - char *vg_name, struct vgcreate_params *vp_new, - struct vgcreate_params *vp_def); - +int vgcreate_params_set_from_args(struct cmd_context *cmd, + struct vgcreate_params *vp_new, + struct vgcreate_params *vp_def); int lv_refresh(struct cmd_context *cmd, struct logical_volume *lv); int vg_refresh_visible(struct cmd_context *cmd, struct volume_group *vg); void lv_spawn_background_polling(struct cmd_context *cmd, |