From: Rafael J. Wysocki Date: Tue, 10 May 2011 19:10:01 +0000 (+0200) Subject: PM / Hibernate: Make snapshot_release() restore GFP mask X-Git-Tag: v2.6.39~50^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9744997a8a2280e67984d4bffd87221d24f3b6b1;p=pandora-kernel.git PM / Hibernate: Make snapshot_release() restore GFP mask If the process using the hibernate user space interface closes /dev/snapshot after creating a hibernation image without thawing tasks, snapshot_release() should call pm_restore_gfp_mask() to restore the GFP mask used before the creation of the image. Make that happen. Tested-by: Alexandre Felipe Muller de Souza Signed-off-by: Rafael J. Wysocki Cc: stable@kernel.org --- Reading git-diff-tree failed