mirror of
git://sourceware.org/git/lvm2.git
synced 2024-10-28 11:55:55 +03:00
cleanup: replace log_warn
This commit is contained in:
parent
2567d03e95
commit
7d2b7f2bd8
@ -4631,14 +4631,14 @@ static int _lvresize_check_lv(struct cmd_context *cmd, struct logical_volume *lv
|
||||
if (vg->fid->fmt->features & FMT_SEGMENTS)
|
||||
lp->stripes = lp->ac_stripes_value;
|
||||
else
|
||||
log_warn("Varied striping not supported. Ignoring.");
|
||||
log_print_unless_silent("Varied striping not supported. Ignoring.");
|
||||
}
|
||||
|
||||
if (lp->ac_mirrors) {
|
||||
if (vg->fid->fmt->features & FMT_SEGMENTS)
|
||||
lp->mirrors = lp->ac_mirrors_value;
|
||||
else
|
||||
log_warn("Mirrors not supported. Ignoring.");
|
||||
log_print_unless_silent("Mirrors not supported. Ignoring.");
|
||||
}
|
||||
|
||||
if (lp->ac_stripesize && !_validate_stripesize(cmd, vg, lp))
|
||||
|
Loading…
Reference in New Issue
Block a user