Re: [patch] swsusp: fix error handling and cleanups

2005-08-22 Thread Nigel Cunningham
Hi. On Mon, 2005-08-22 at 19:00, Pavel Machek wrote: > @@ -1207,7 +1208,6 @@ static int check_sig(void) >*/ > error = bio_write_page(0, &swsusp_header); > } else { > - printk(KERN_ERR "swsusp: Suspend partition has wrong > signature?\n"); >

[patch] swsusp: fix error handling and cleanups

2005-08-22 Thread Pavel Machek
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 <[EMAIL PROTECTED]> --- commit 466db9819e9d1e6fdab90019a59ba4ed