From: Hugh Dickins Date: Sat, 3 Sep 2005 22:54:42 +0000 (-0700) Subject: [PATCH] swap: update swsusp use of swap_info X-Git-Tag: v2.6.14-rc1~977 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dae06ac43d56d23e50a2300d511b32a9e38cd657;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed