From: Rafael J. Wysocki Date: Wed, 28 Mar 2012 21:30:14 +0000 (+0200) Subject: PM / Hibernate: Disable usermode helpers right before freezing tasks X-Git-Tag: v3.4-rc2~19^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b5179ac14dbad945647ac9e76bbbf14ed9e0dbe;p=pandora-kernel.git PM / Hibernate: Disable usermode helpers right before freezing tasks There is no reason to call usermodehelper_disable() before creating memory bitmaps in hibernate() and software_resume(), so call it right before freeze_processes(), in accordance with the other suspend and hibernation code. Consequently, call usermodehelper_enable() right after the thawing of tasks rather than after freeing the memory bitmaps. Signed-off-by: Rafael J. Wysocki Acked-by: Greg Kroah-Hartman Cc: stable@vger.kernel.org --- Reading git-diff-tree failed