https://github.com/torvalds/linux
Revision 8d98a690f58e0d6ecf424b7ca84488475cf87bd9 authored by Rafael J. Wysocki on 17 May 2007, 05:11:19 UTC, committed by Linus Torvalds on 17 May 2007, 12:23:05 UTC
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>
1 parent 7925409
Raw File
Tip revision: 8d98a690f58e0d6ecf424b7ca84488475cf87bd9 authored by Rafael J. Wysocki on 17 May 2007, 05:11:19 UTC
swsusp: fix sysfs interface
Tip revision: 8d98a69
.gitignore
#
# NOTE! Don't add files that are generated in specific
# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
# Normal rules
#
.*
*.o
*.a
*.s
*.ko
*.so
*.mod.c
*.i
*.lst
*.symtypes

#
# Top-level generic files
#
tags
TAGS
vmlinux*
System.map
Module.symvers

#
# Generated include files
#
include/asm
include/asm-*/asm-offsets.h
include/config
include/linux/autoconf.h
include/linux/compile.h
include/linux/version.h
include/linux/utsrelease.h

# stgit generated dirs
patches-*

# quilt's files
patches
series

# cscope files
cscope.*
back to top