In condition blocks and kbytes are compared. The same units have to be compared, otherwise comparison is meaningless. Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> --- Grow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Grow.c b/Grow.c index 8229b4d..6a9e81e 100644 --- a/Grow.c +++ b/Grow.c @@ -1829,7 +1829,7 @@ started: fprintf(stderr, Name ": Need to backup %luK of critical " "section..\n", blocks/2); - if (blocks >= sra->component_size/2) { + if (blocks >= sra->component_size) { fprintf(stderr, Name ": %s: Something wrong" " - reshape aborted\n", devname); -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html