From: Artem Bityutskiy Date: Thu, 4 Dec 2008 18:52:44 +0000 (+0200) Subject: UBI: fix deadlock X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab4a9e35a340c3ae7a0f5e79da233250bb11cc41;p=pandora-kernel.git 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 --- Reading git-diff-tree failed