]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] swsusp: Fix swap_type_of
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 27 Aug 2006 08:23:25 +0000 (01:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 27 Aug 2006 18:01:28 +0000 (11:01 -0700)
commitb6b5bce3571e496504a89ee575d32101e0a98b93
tree283d4da88216071813b25d82c6e49a5ab71948f9
parentc06aad854fdb9da38fcc22dccfe9d72919453e43
[PATCH] swsusp: Fix swap_type_of

There is a bug in mm/swapfile.c#swap_type_of() that makes swsusp only be
able to use the first active swap partition as the resume device.  Fix it.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Hugh Dickins <hugh@veritas.com>
Acked-by: Pavel Machek <pavel@suse.cz>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/swapfile.c