Matthias Koenig <mkoenig@xxxxxxx> writes: > As swap format depends on the pagesize being used, it may happen > that the pagesize of the swap space and the current pagesize differ, > resulting in swapon to fail when trying to enable such a swap space. > In such a case swapon should rather reinitialize the swap space. > > Signed-off-by: Matthias Koenig <mkoenig@xxxxxxx> Ok, as Olaf Hering pointed out to me that we need to check if the swap size is valid, I recall this patch, will send an updated one later. Thanks, Matthias -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html