From: Richard Weinberger Date: Mon, 3 Dec 2012 19:57:47 +0000 (+0100) Subject: UBI: dont call ubi_self_check_all_ff() in __wl_get_peb() X-Git-Tag: v3.7~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=894aef215775b56b725e9dde856b7a8b091ddfcc;p=pandora-kernel.git UBI: dont call ubi_self_check_all_ff() in __wl_get_peb() As ubi_self_check_all_ff() might sleep we are not allowed to call it from atomic context. For now we call it only from ubi_wl_get_peb(). There are some code paths where it would also make sense, but these paths are currently atomic and only enabled when fastmap is used. Signed-off-by: Richard Weinberger Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed