Re: [PATCH][Fix] swsusp: Fix swap_type_of

From: Antonino A. Daplas
Date: Tue Aug 15 2006 - 09:44:58 EST

On Tue, 2006-08-15 at 12:16 +0200, Pavel Machek wrote:
> On Tue 2006-08-15 12:18:40, Rafael J. Wysocki wrote:
> > There is a bug in mm/swapfile.c#swap_type_of() that makes swsusp only be
> > able to use the first active swap partition as the resume device.
> > Fix it.
> ACK. (And I guess this is 2.6.18 material, right? Or is that fix not
> needed in mainline?)

This fixed an oops on suspend to disk. Definitely 2.6.18 material.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at