swsusp: don't sync with stopped pdflush
Hi!
Patch from Nigel, please apply.
Pavel
kernel/suspend.c +1 -1
@@ -604,12 +606,12 @@static int prepare_suspend_processes (void ) { +sys_sync ();/* Syncing needs pdflushd, so do it before stopping processes */ if (freeze_processes ()) {printk (KERN_ERR "Suspend failed: Not all processes stopped!\n" );thaw_processes ();return 1 ; } -sys_sync ();return 0 ; }
Signature · 2 lines
When do you have a heart between your knees? [Johanka's followup: and *two* hearts?]