mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
lv_remove_single: update parameter name
Since we have already a meaning for 'silent' replace its name with more explanator suppress_remove_message (updates recent commit).
This commit is contained in:
parent
aa75698a17
commit
6f0300de96
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user