summaryrefslogtreecommitdiffstats
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorHugh Dickins2005-09-04 00:54:42 +0200
committerLinus Torvalds2005-09-05 09:05:42 +0200
commitdae06ac43d56d23e50a2300d511b32a9e38cd657 (patch)
tree62bfa95e769ec5c731f02435b49025a15c45faf4 /mm/swap_state.c
parent[PATCH] swap: swap_lock replace list+device (diff)
downloadkernel-qcow2-linux-dae06ac43d56d23e50a2300d511b32a9e38cd657.tar.gz
kernel-qcow2-linux-dae06ac43d56d23e50a2300d511b32a9e38cd657.tar.xz
kernel-qcow2-linux-dae06ac43d56d23e50a2300d511b32a9e38cd657.zip
[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