1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

raid: switch to log_warn

Use log_warn for warning message.
log_error is printed when command returns error code.
This commit is contained in:
Zdenek Kabelac 2014-07-01 09:53:58 +02:00
parent 355258be58
commit c460f35cda

View File

@ -1914,10 +1914,9 @@ static int _lvconvert_raid(struct logical_volume *lv, struct lvconvert_params *l
}
if (sync_percent != DM_PERCENT_100) {
log_error("WARNING: %s/%s is not in-sync.",
lv->vg->name, lv->name);
log_error("WARNING: Portions of the array may"
" be unrecoverable.");
log_warn("WARNING: %s/%s is not in-sync.",
lv->vg->name, lv->name);
log_warn("WARNING: Portions of the array may be unrecoverable.");
/*
* The kernel will not allow a device to be replaced