]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] swap: update swsusp use of swap_info
authorHugh Dickins <hugh@veritas.com>
Sat, 3 Sep 2005 22:54:42 +0000 (15:54 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:05:42 +0000 (00:05 -0700)
commit0805a5ecb9749b2d15869c45d31dadb865052c3c
tree62bfa95e769ec5c731f02435b49025a15c45faf4
parent06836958a56ee1f7520404d972bcca410ca3968b
[PATCH] swap: update swsusp use of swap_info

Aha, swsusp dips into swap_info[], better update it to swap_lock.  It's
bitflipping flags with 0xFF, so get_swap_page will allocate from only the one
chosen device: let's change that to flip SWP_WRITEOK.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/swsusp.c