linux/kernel/power
Takashi Iwai 012f9fdfd2 PM / Hibernate: Fix PM_POST_* notification with user-space suspend
commit 1497dd1d29 upstream.

The user-space hibernation sends a wrong notification after the image
restoration because of thinko for the file flag check.  RDONLY
corresponds to hibernation and WRONLY to restoration, confusingly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07 14:43:06 -08:00
..
console.c
hibernate_nvs.c
hibernate.c
Kconfig
main.c
Makefile
power.h
poweroff.c
process.c Freezer: Fix buggy resume test for tasks frozen with cgroup freezer 2010-04-26 07:41:17 -07:00
snapshot.c PM / Hibernate: Fix preallocating of memory 2010-03-15 08:49:46 -07:00
suspend_test.c
suspend.c
swap.c PM / Hibernate: Add newline to load_image() fail path 2009-11-03 11:03:09 +01:00
swsusp.c
user.c PM / Hibernate: Fix PM_POST_* notification with user-space suspend 2011-01-07 14:43:06 -08:00