commit | 51b11e3630672b7ce8793ecf13e5759656edf38a | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Tue Jun 28 00:21:30 2011 +0400 |
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | Sun Sep 11 15:02:14 2011 +0300 |
tree | 90b22e023e1120b475adbb6153283e16eaf6f932 | |
parent | 9786f6e68af00d0988ad7f51fe3fd118be1c30ad [diff] |
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 <khoroshilov@ispras.ru> Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>