From: Rafael J. Wysocki Date: Thu, 18 Oct 2007 10:04:44 +0000 (-0700) Subject: freezer: do not sync filesystems from freeze_processes X-Git-Tag: v2.6.24-rc1~433 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=232b14328050a4639130b0dec185f43968e72035;p=pandora-kernel.git freezer: do not sync filesystems from freeze_processes The syncing of filesystems from within the freezer is generally not needed. Also, if there's an ext3 filesystem loopback-mounted from a FUSE one, the syncing results in writes to it and deadlocks. Similarly, it will deadlock if FUSE implements sync. Change freeze_processes() so that it doesn't execute sys_sync() and make the suspend and hibernation code path sync filesystems independently of the freezer. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Cc: Nigel Cunningham Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed