From: Krzysztof Wojcik <krzysztof.wojcik@xxxxxxxxx> Size has to be "0" when imsm_reshape_is_allowed_on_container function is called. Signed-off-by: Krzysztof Wojcik <krzysztof.wojcik@xxxxxxxxx> --- super-intel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/super-intel.c b/super-intel.c index 17737cf..06b795e 100644 --- a/super-intel.c +++ b/super-intel.c @@ -6149,7 +6149,7 @@ static int imsm_reshape_is_allowed_on_container(struct supertype *st, "st->devnum = (%i)\n", st->devnum); - if (geo->size != -1 || + if (geo->size != 0 || geo->level != UnSet || geo->layout != UnSet || geo->chunksize != 0 || -- 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