1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00

cleanup: skip test if already tested for SIGN_PLUS

This commit is contained in:
Zdenek Kabelac 2013-06-11 13:09:11 +02:00
parent 1dcba13dfc
commit 1cdb6ca2b2

View File

@ -537,9 +537,7 @@ static int _lvresize(struct cmd_context *cmd, struct volume_group *vg,
return ECMD_PROCESSED;
}
}
}
if (lp->sign == SIGN_MINUS) {
} else if (lp->sign == SIGN_MINUS) {
if (lp->extents >= lv->le_count) {
log_error("Unable to reduce %s below 1 extent",
lp->lv_name);