1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-25 21:57:45 +03:00

lvchange: resync returns error on usupported volumes

This commit is contained in:
Zdenek Kabelac 2012-10-15 13:42:18 +02:00
parent b3899056d9
commit 4573877186

View File

@ -343,7 +343,7 @@ static int lvchange_resync(struct cmd_context *cmd,
if (!(lv->status & MIRRORED) && !seg_is_raid(seg)) {
log_error("Unable to resync %s. It is not RAID or mirrored.",
lv->name);
return 1;
return 0;
}
if (lv->status & PVMOVE) {