diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-05-10 21:10:01 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-21 15:13:12 -0700 |
commit | 29639f09f1f93fec0b6a53aff7cf8927bbd3b783 (patch) | |
tree | 9d24f384408ae9d8ea4d88ebbefda44a48274e74 /Documentation | |
parent | b869799eec5145afe463368afb679445d8e4bc3f (diff) |
PM / Hibernate: Make snapshot_release() restore GFP mask
commit 9744997a8a2280e67984d4bffd87221d24f3b6b1 upstream.
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 <alexandrefm@mandriva.com.br>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions