From: Richard Weinberger Date: Fri, 7 Nov 2014 22:40:27 +0000 (+0100) Subject: UBI: Split __wl_get_peb() X-Git-Tag: omap-for-v4.1/fixes-rc1~135^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=691a870563b4fe9e014a309477fb8f9fe41b36bb;p=pandora-kernel.git UBI: Split __wl_get_peb() Make it two functions, wl_get_wle() and wl_get_peb(). wl_get_peb() works exactly like __wl_get_peb() but wl_get_wle() does not call produce_free_peb(). While refilling the fastmap user pool we cannot release ubi->wl_lock as produce_free_peb() does. Hence the fastmap logic uses now wl_get_wle(). Signed-off-by: Richard Weinberger --- Reading git-diff-tree failed