android_kernel_xiaomi_sm8350/kernel/power
Rafael J. Wysocki 1525a2ad76 swsusp: fix error paths in snapshot_open
We forget to increase device_available if there's an error in snapshot_open(),
so the snapshot device cannot be open at all after snapshot_open() has
returned an error.

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-07 12:12:59 -07:00
..
console.c [PATCH] swsusp: fix suspend when console is in VT_AUTO+KD_GRAPHICS mode 2007-03-16 19:25:05 -07:00
disk.c swsusp: do not use page flags 2007-05-07 12:12:59 -07:00
Kconfig
main.c swsusp: do not use page flags 2007-05-07 12:12:59 -07:00
Makefile
pm.c
power.h swsusp: do not use page flags 2007-05-07 12:12:59 -07:00
poweroff.c
process.c fix refrigerator() vs thaw_process() race 2007-05-07 12:12:58 -07:00
snapshot.c swsusp: do not use page flags 2007-05-07 12:12:59 -07:00
swap.c [PATCH] x86-64: do not use virt_to_page on kernel data address 2007-05-02 19:27:07 +02:00
swsusp.c [PATCH] swsusp: fix memory shrinker 2007-04-04 21:12:47 -07:00
user.c swsusp: fix error paths in snapshot_open 2007-05-07 12:12:59 -07:00