commit | 43e07073865ae540e3b463f437f0f837f17714ba | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Mon May 16 14:21:51 2011 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Mon May 16 15:48:48 2011 +0300 |
tree | 41d145642dd7e8dc3da4e94c075daee61a71867f | |
parent | 7c47bfd0dbb20e5d7fa4e37cfd76bb73d39b32b4 [diff] |
UBIFS: simplify LEB recovery function further Further simplify 'ubifs_recover_leb()' by noticing that we have to call 'clean_buf()' in any case, and it is fine to call it if the offset is aligned to 'c->min_io_size'. Thus, we do not have to call it separately from every "if" - just call it once at the end. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>