diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-04 20:52:44 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-05 13:46:49 +0200 |
commit | 4df581f3dc6a91a63b9965ac8bdb47d8db294e37 (patch) | |
tree | ddd44e9b424c999b615185c6c6d34c1d2983f6f4 /drivers/mtd/mtdchar.c | |
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 'drivers/mtd/mtdchar.c')
0 files changed, 0 insertions, 0 deletions