From: Alexey Khoroshilov Date: Mon, 27 Jun 2011 20:21:30 +0000 (+0400) Subject: jffs2: use mutex_is_locked() in __jffs2_flush_wbuf() X-Git-Tag: v3.2-rc1~14^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51b11e3630672b7ce8793ecf13e5759656edf38a;p=pandora-kernel.git jffs2: use mutex_is_locked() in __jffs2_flush_wbuf() Use a helper to test if a mutex is held instead of a hack with mutex_trylock(). Signed-off-by: Alexey Khoroshilov Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed