commit | 08a4267874164b2e9c8c50831acd466f47208acc | [log] [tgz] |
---|---|---|
author | Zhihao Cheng <chengzhihao1@huawei.com> | Mon Aug 28 14:38:35 2023 +0800 |
committer | Richard Weinberger <richard@nod.at> | Sat Oct 28 22:32:58 2023 +0200 |
tree | 2e5fc76227813d51c5a4da1f5c2f88fc615c7420 | |
parent | 4d18b5a57b16c21cf868369ca555068722c32b2d [diff] |
ubi: fastmap: erase_block: Get erase counter from wl_entry rather than flash Just like sync_erase() does, getting erase counter from wl_entry is faster than reading from flash. Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>