]> err.no Git - linux-2.6/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)
commitdae06ac43d56d23e50a2300d511b32a9e38cd657
tree62bfa95e769ec5c731f02435b49025a15c45faf4
parent5d337b9194b1ce3b6fd5f3cb2799455ed2f9a3d1
[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