Artem Bityutskiy 4df581f3dc 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>
2008-12-05 13:46:49 +02:00
..
2008-09-05 16:29:36 +03:00
2008-07-24 13:36:09 +03:00
2008-07-24 13:34:45 +03:00
2008-12-05 13:46:49 +02:00
2008-07-24 13:34:45 +03:00
2008-04-17 11:32:00 +03:00
2008-11-06 11:13:02 +02:00
2008-07-24 13:36:09 +03:00
2008-07-24 13:36:09 +03:00
2008-07-24 13:36:09 +03:00
2008-07-24 13:36:10 +03:00