Re: [PATCH -mm 1/2] swsusp: Fix error paths in snapshot_open

From: Pavel Machek
Date: Sun Mar 18 2007 - 08:14:40 EST


Hi!

> 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@xxxxxxx>

ACK.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/