mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
cleanup: fix last commit
This commit is contained in:
parent
2360ce3551
commit
e9216eedfe
@ -287,7 +287,7 @@ static int lvchange_resync(struct cmd_context *cmd, struct logical_volume *lv)
|
||||
|
||||
dm_list_init(&device_list);
|
||||
|
||||
if (lv_is_mirrored(lv) && !seg_is_raid(seg)) {
|
||||
if (!lv_is_mirrored(lv) && !seg_is_raid(seg)) {
|
||||
log_error("Unable to resync %s. It is not RAID or mirrored.",
|
||||
lv->name);
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user