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-12-05 13:46:49 +02:00
2008-06-04 17:50:17 +01:00
2008-10-09 08:56:01 +02:00
2008-06-04 17:50:17 +01:00
2008-08-01 21:47:47 +01:00
2008-04-22 20:48:12 +01:00
2008-10-21 07:48:38 -04:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2008-08-02 18:45:18 +01:00