diff options
author | Richard Weinberger <richard@nod.at> | 2012-12-03 20:57:47 +0100 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-12-04 16:04:31 +0200 |
commit | 894aef215775b56b725e9dde856b7a8b091ddfcc (patch) | |
tree | 1268cbe06004ae4d8b7f35d193310624fe36e824 /drivers/mtd/ubi/fastmap.c | |
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>
Diffstat (limited to 'drivers/mtd/ubi/fastmap.c')
0 files changed, 0 insertions, 0 deletions