diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2007-01-06 01:36:28 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-06 08:55:22 +0100 |
commit | 7bf236874292fd073c6bdd27f89c3d9e81a79cbc (patch) | |
tree | 27e4196e4b720c113010d544567f76f181c11428 /include/asm-i386 | |
parent | [PATCH] adfs: fix filename handling (diff) | |
download | linux-7bf236874292fd073c6bdd27f89c3d9e81a79cbc.tar.xz linux-7bf236874292fd073c6bdd27f89c3d9e81a79cbc.zip |
[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>
Diffstat (limited to 'include/asm-i386')
0 files changed, 0 insertions, 0 deletions