diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c index 980675869..62ca24532 100644 --- a/lib/metadata/lv_manip.c +++ b/lib/metadata/lv_manip.c @@ -4494,7 +4494,7 @@ void lv_set_hidden(struct logical_volume *lv) } int lv_remove_single(struct cmd_context *cmd, struct logical_volume *lv, - force_t force, int silent) + force_t force, int suppress_remove_message) { struct volume_group *vg; struct lvinfo info; @@ -4651,7 +4651,7 @@ int lv_remove_single(struct cmd_context *cmd, struct logical_volume *lv, backup(vg); - if (!silent && visible) + if (!suppress_remove_message && visible) log_print_unless_silent("Logical volume \"%s\" successfully removed", lv->name); return 1; diff --git a/lib/metadata/metadata-exported.h b/lib/metadata/metadata-exported.h index 9798197a9..9d547bb5e 100644 --- a/lib/metadata/metadata-exported.h +++ b/lib/metadata/metadata-exported.h @@ -658,7 +658,7 @@ int lv_extend(struct logical_volume *lv, int lv_remove(struct logical_volume *lv); int lv_remove_single(struct cmd_context *cmd, struct logical_volume *lv, - force_t force, int silent); + force_t force, int suppress_remove_message); int lv_remove_with_dependencies(struct cmd_context *cmd, struct logical_volume *lv, force_t force, unsigned level);