From: Artem Bityutskiy Date: Thu, 4 Dec 2008 18:52:44 +0000 (+0200) Subject: UBI: fix deadlock X-Git-Tag: Release-2010-05/1~3^2~151 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c3201dfa140c6b459d1361b6e5d51b169d26796;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