summaryrefslogtreecommitdiff
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2005-09-04 02:54:42 +0400
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 11:05:42 +0400
commitdae06ac43d56d23e50a2300d511b32a9e38cd657 (patch)
tree62bfa95e769ec5c731f02435b49025a15c45faf4 /mm/swap_state.c
parent5d337b9194b1ce3b6fd5f3cb2799455ed2f9a3d1 (diff)
downloadlinux-dae06ac43d56d23e50a2300d511b32a9e38cd657.tar.xz
[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>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions