[PATCH] jffs2: use mutex_is_locked() in __jffs2_flush_wbuf()

Artem Bityutskiy dedekind1 at gmail.com
Wed Jun 29 02:05:34 EDT 2011


On Tue, 2011-06-28 at 00:21 +0400, Alexey Khoroshilov wrote:
> Use a helper to test if a mutex is held instead of a hack with
> mutex_trylock().
> 
> Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>

Pushed to l2-mtd-2.6.git, thanks.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list