1
0
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:
Zdenek Kabelac 2013-12-05 12:39:02 +01:00
parent aa75698a17
commit 6f0300de96
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);