linux/kernel/power
Rafael J. Wysocki 8d98a690f5 swsusp: fix sysfs interface
The sysfs files /sys/power/disk and /sys/power/state do not work as
documented, since they allow the user to write only a few initial
characters of the input string to trigger the option (eg.  'echo pl >
/sys/power/disk' activates the platform mode of hibernation).  Fix it.

Special thanks to Peter Moulder <Peter.Moulder@infotech.monash.edu.au> for
pointing out the problem.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-17 05:23:05 -07:00
..
console.c
disk.c swsusp: fix sysfs interface 2007-05-17 05:23:05 -07:00
Kconfig
main.c swsusp: fix sysfs interface 2007-05-17 05:23:05 -07:00
Makefile
pm.c
power.h PM: Separate hibernation code from suspend code 2007-05-09 12:30:48 -07:00
poweroff.c
process.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
snapshot.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2007-05-09 12:56:01 -07:00
swap.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
swsusp.c
user.c PM: Separate hibernation code from suspend code 2007-05-09 12:30:48 -07:00