diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-04 21:52:44 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-05 14:46:49 +0300 |
commit | 4df581f3dc6a91a63b9965ac8bdb47d8db294e37 (patch) | |
tree | ddd44e9b424c999b615185c6c6d34c1d2983f6f4 /drivers/crypto | |
parent | ed45819f315b5a8844b5bfce881a18e9f3a055e7 (diff) | |
download | linux-4df581f3dc6a91a63b9965ac8bdb47d8db294e37.tar.xz |
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>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions