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
..
2007-05-17 05:23:05 -07:00
2007-05-11 05:38:25 -04:00
2007-05-11 05:38:26 -04:00
2007-05-11 08:29:36 -07:00
2007-05-17 05:23:04 -07:00
2007-05-09 12:30:55 -07:00
2007-05-09 12:30:55 -07:00
2006-12-07 08:39:36 -08:00
2006-12-04 02:00:22 -05:00
2007-05-09 07:26:28 +02:00
2007-05-09 12:30:56 -07:00
2007-05-11 05:38:25 -04:00
2007-05-09 12:30:55 -07:00
2007-05-09 12:30:55 -07:00
2005-04-16 15:20:36 -07:00
2007-05-11 08:29:35 -07:00
2007-05-14 12:13:11 -07:00
2006-12-07 08:39:25 -08:00
2007-05-09 08:57:56 +02:00