[PATCH] jffs2: Make handling of erase_completion_lock consistent in jffs2_do_reserve_space()

Artem Bityutskiy dedekind1 at gmail.com
Fri Nov 16 04:00:58 EST 2012

On Mon, 2012-11-05 at 22:40 +0400, Alexey Khoroshilov wrote:
> Users of jffs2_do_reserve_space() expect they still held
> erase_completion_lock after call to it. But there is a path
> where jffs2_do_reserve_space() leaves erase_completion_lock unlocked.
> The patch fixes it.
> Found by Linux Driver Verification project (linuxtesting.org).
> Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>

Pushed to l2-mtd.git, thanks!

Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20121116/90c251b5/attachment-0001.sig>

More information about the linux-mtd mailing list