diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-10-19 22:00:11 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-10-21 11:20:36 +0300 |
commit | fb22b59b2c38054cc847f6acc5c46daa26dc6dd3 (patch) | |
tree | 76025e34f0934b8e7186972e43849dc4a8f19606 /drivers/mtd/mtd_blkdevs.c | |
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>
Diffstat (limited to 'drivers/mtd/mtd_blkdevs.c')
0 files changed, 0 insertions, 0 deletions