mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
debug: passing non-raid seg would be internal error
This commit is contained in:
parent
9e96f96a41
commit
fbb3bffb22
@ -1096,7 +1096,7 @@ int lv_raid_healthy(const struct logical_volume *lv)
|
||||
}
|
||||
|
||||
if (!seg_is_raid(raid_seg)) {
|
||||
log_error("%s on %s is not a RAID segment",
|
||||
log_error(INTERNAL_ERROR "%s on %s is not a RAID segment.",
|
||||
raid_seg->lv->name, lv->name);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user