diff options
author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2011-11-19 14:37:57 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-11-19 14:37:57 +0100 |
commit | 501a708f18ef911328ffd39f39738b8a7862aa8e (patch) | |
tree | f3adbf5979f9e714291cec5c2a893edbca16ba26 /mm/failslab.c | |
parent | aa9a7b11821e883a7b93ecce190881e0ea48648b (diff) | |
download | linux-501a708f18ef911328ffd39f39738b8a7862aa8e.tar.gz linux-501a708f18ef911328ffd39f39738b8a7862aa8e.tar.bz2 linux-501a708f18ef911328ffd39f39738b8a7862aa8e.zip |
PM / Suspend: Fix bug in suspend statistics update
After commit 2a77c46de1e3dace73745015635ebbc648eca69c
(PM / Suspend: Add statistics debugfs file for suspend to RAM)
a missing pair of braces inside the state_store() function causes even
invalid arguments to suspend to be wrongly treated as failed suspend
attempts. Fix this.
[rjw: Put the hash/subject of the buggy commit into the changelog.]
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'mm/failslab.c')
0 files changed, 0 insertions, 0 deletions