commit | fb22b59b2c38054cc847f6acc5c46daa26dc6dd3 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Tue Oct 19 22:00:11 2010 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Thu Oct 21 11:20:36 2010 +0300 |
tree | 76025e34f0934b8e7186972e43849dc4a8f19606 | |
parent | 5fc01ab6934c43b42c41bc753fe1123c16d7f38f [diff] |
UBI: remember copy_flag while scanning While scanning the flash we read all VID headers and store some important information in 'struct ubi_scan_leb'. Store also the 'copy_flag' value there as it is needed when comparing LEBs. We do not increase memory consumption because this is just one bit and we have plenty of spare bits in 'struct ubi_scan_leb' (sizeof(struct ubi_scan_leb) is 48 both with and without this patch). Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>