commit | fb10e4d418c73096ec61d8e80e2af282a5891039 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Sat Sep 28 15:55:10 2013 +0200 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Thu Oct 03 19:42:46 2013 +0300 |
tree | 4ee2e4150a8a01a099a31679d4e987a461b1e706 | |
parent | 8930fa500f55215f0211db9b78255e727ac3f282 [diff] |
UBI: fix refill_wl_user_pool() If no free PEBs are available refill_wl_user_pool() must not return with -ENOSPC immediately. It has to block till produce_free_peb() produced a free PEB. Reported-and-Tested-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>