https://github.com/torvalds/linux
Revision 7bf236874292fd073c6bdd27f89c3d9e81a79cbc authored by Rafael J. Wysocki on 06 January 2007, 00:36:28 UTC, committed by Linus Torvalds on 06 January 2007, 07:55:22 UTC
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>
1 parent 3223ea8
History
Tip revision: 7bf236874292fd073c6bdd27f89c3d9e81a79cbc authored by Rafael J. Wysocki on 06 January 2007, 00:36:28 UTC
[PATCH] swsusp: Do not fail if resume device is not set
Tip revision: 7bf2368
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 78.9 KB
Makefile -rw-r--r-- 49.5 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top