diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2007-05-06 23:50:44 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 21:12:59 +0200 |
commit | 1525a2ad76f991eba9755f75c9b6d4d97abad25e (patch) | |
tree | 7e5307d825e1f8a55581a0b465865b9f2cc90af6 /init/do_mounts_initrd.c | |
parent | mm: remove unused page flags (diff) | |
download | linux-1525a2ad76f991eba9755f75c9b6d4d97abad25e.tar.xz linux-1525a2ad76f991eba9755f75c9b6d4d97abad25e.zip |
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>
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions