linux/kernel/power
Rafael J. Wysocki 36cb7035ea PM / Hibernate: Fix ioctl SNAPSHOT_S2RAM
The SNAPSHOT_S2RAM ioctl used for implementing the feature allowing
one to suspend to RAM after creating a hibernation image is currently
broken, because it doesn't clear the "ready" flag in the struct
snapshot_data object handled by it.  As a result, the
SNAPSHOT_UNFREEZE doesn't work correctly after SNAPSHOT_S2RAM has
returned and the user space hibernate task cannot thaw the other
processes as appropriate.  Make SNAPSHOT_S2RAM clear data->ready
to fix this problem.

Tested-by: Alexandre Felipe Muller de Souza <alexandrefm@mandriva.com.br>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: stable@kernel.org
2011-05-11 21:10:58 +02:00
..
block_io.c
console.c
hibernate.c PM: Fix error code paths executed after failing syscore_suspend() 2011-04-18 23:58:59 +02:00
Kconfig fix XEN_SAVE_RESTORE Kconfig dependencies 2011-04-11 22:54:48 +02:00
main.c
Makefile
power.h
poweroff.c
process.c
snapshot.c
suspend_test.c
suspend.c PM: Fix warning in pm_restrict_gfp_mask() during SNAPSHOT_S2RAM ioctl 2011-05-11 21:10:14 +02:00
swap.c
user.c PM / Hibernate: Fix ioctl SNAPSHOT_S2RAM 2011-05-11 21:10:58 +02:00