[PATCH] swsusp: fix error handling and cleanups
authorPavel Machek <pavel@ucw.cz>
Sat, 3 Sep 2005 22:57:05 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:17 +0000 (00:06 -0700)
commit99dc7d63e0dcb457580241055b2a39d011309db8
tree3be63831f5fa823ef7e5c99339e9a71c29d3ad08
parentdd5d666b7995e542b7f81a4bb1c7ad634f4f6c51
[PATCH] swsusp: fix error handling and cleanups

Drop printing during normal boot (when no image exists in swap), print
message when drivers fail, fix error paths and consolidate near-identical
functions in disk.c (and functions with just one statement).

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/disk.c
kernel/power/swsusp.c