[PATCH] swsusp: improve handling of swap partitions
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 6 Jan 2006 08:17:16 +0000 (00:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:43 +0000 (08:33 -0800)
commit1adf6c8ea916bc4a2587a881ec7715fece63fb5e
tree0cfeb2d3ea23fbfac3674cf9b7291f80a055aad1
parent3a291a20bd6fcfafb2109031f0760a0d3e92ecd7
[PATCH] swsusp: improve handling of swap partitions

This changes the handling of swap partitions by swsusp to avoid locking of the
swap devices that are not used for suspend and, consequently, simplifies the
code.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/swsusp.c