dev-dct-process-latest - toollib: remove unused arg from process_each_lv_in_vg
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ced473a352ceca9ef9759c98eaaca8f9a9a7fe7c Commit: ced473a352ceca9ef9759c98eaaca8f9a9a7fe7c Parent: bb21649a4700b5a19251def33a3a3418b5d0830d Author: David Teigland <[email protected]> AuthorDate: Wed Aug 28 14:32:13 2013 -0500 Committer: David Teigland <[email protected]> CommitterDate: Mon Sep 22 10:32:23 2014 -0500
toollib: remove unused arg from process_each_lv_in_vg
The failed_lvnames arg is no longer used since the cmd_vg replicator wrapper was removed.
--- tools/toollib.c | 3 +-- tools/toollib.h | 1 - tools/vgdisplay.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-)
tools/toollib.c +1 -2
@@ -1688,7 +1688,6 @@ int process_each_lv_in_vg(struct cmd_context *cmd,struct volume_group *vg, struct dm_list *arg_lvnames, const struct dm_list *tags_in, - struct dm_list *failed_lvnames, void *handle, process_single_lv_fn_t process_single_lv) {
@@ -1959,7 +1958,7 @@ static int process_lv_vg_name_list(struct cmd_context *cmd, uint32_t flags,continue ; } - ret =process_each_lv_in_vg (cmd, vg, &lvnames, tags_arg,NULL , + ret =process_each_lv_in_vg (cmd, vg, &lvnames, tags_arg, handle, process_single_lv);unlock_and_release_vg (cmd, vg, vg_name);
tools/toollib.h +0 -1
@@ -88,7 +88,6 @@ int process_each_lv_in_vg(struct cmd_context *cmd,struct volume_group *vg, const struct dm_list *arg_lvnames, const struct dm_list *tagsl, - struct dm_list *failed_lvnames, void *handle, process_single_lv_fn_t process_single_lv);
tools/vgdisplay.c +1 -1
@@ -39,7 +39,7 @@ static int vgdisplay_single(struct cmd_context *cmd, const char *vg_name,if (arg_count (cmd, verbose_ARG)) {vgdisplay_extents (vg); -process_each_lv_in_vg (cmd, vg,NULL ,NULL ,NULL ,NULL , +process_each_lv_in_vg (cmd, vg,NULL ,NULL ,NULL , (process_single_lv_fn_t )lvdisplay_full);log_print ("--- Physical volumes ---" );