diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-04 13:52:44 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-05 06:46:49 -0500 |
commit | 4df581f3dc6a91a63b9965ac8bdb47d8db294e37 (patch) | |
tree | ddd44e9b424c999b615185c6c6d34c1d2983f6f4 /net | |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions