linux_old1/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
..
Kconfig [PATCH] kconfig: Update swsusp description 2007-03-06 09:30:26 -08:00
Makefile [PATCH] Disable CPU hotplug during suspend 2006-09-26 08:48: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
main.c swsusp: do not use page flags 2007-05-07 12:12:59 -07:00
pm.c [PATCH] remove kernel/power/pm.c:pm_unregister_all() 2006-07-12 16:09:08 -07:00
power.h swsusp: do not use page flags 2007-05-07 12:12:59 -07:00
poweroff.c WorkStruct: Pass the work_struct pointer instead of context data 2006-11-22 14:55:48 +00:00
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