commit | 4df581f3dc6a91a63b9965ac8bdb47d8db294e37 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Thu Dec 04 20:52:44 2008 +0200 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri Dec 05 13:46:49 2008 +0200 |
tree | ddd44e9b424c999b615185c6c6d34c1d2983f6f4 | |
parent | ed45819f315b5a8844b5bfce881a18e9f3a055e7 [diff] |
UBI: fix deadlock We cannot call 'ubi_wl_get_peb()' with @ubi->buf_mutex locked, because 'ubi_wl_get_peb()' may force erasure, which, in turn, may call 'torture_peb()' which also locks the @ubi->buf_mutex and deadlocks. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>