commit | 894aef215775b56b725e9dde856b7a8b091ddfcc | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Mon Dec 03 20:57:47 2012 +0100 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Tue Dec 04 16:04:31 2012 +0200 |
tree | 1268cbe06004ae4d8b7f35d193310624fe36e824 | |
parent | ed4b7021cb51fe5a0f260df03298709347a26967 [diff] |
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 <richard@nod.at> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>