Rafael J. Wysocki 7bf2368742 [PATCH] swsusp: Do not fail if resume device is not set
In the kernels later than 2.6.19 there is a regression that makes swsusp
fail if the resume device is not explicitly specified.

It can be fixed by adding an additional parameter to
mm/swapfile.c:swap_type_of() allowing us to pass the (struct block_device
*) corresponding to the first available swap back to the caller.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2007-01-05 23:55:22 -08:00
..
2006-12-22 08:55:49 -08:00
2006-12-22 08:55:49 -08:00
2006-09-26 08:48:44 -07:00
2006-12-22 08:55:49 -08:00
2006-12-08 08:28:47 -08:00
2006-12-17 10:21:53 -08:00
2006-12-07 08:39:22 -08:00
2006-09-26 08:48:45 -07:00
2006-12-08 08:28:47 -08:00
2005-04-16 15:20:36 -07:00
2006-12-08 08:28:47 -08:00
2006-12-30 10:56:43 -08:00