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: NAlexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: NArtem Bityutskiy <dedekind1@gmail.com>
Showing
想要评论请 注册 或 登录