• A
    UBI: remember copy_flag while scanning · fb22b59b
    Artem Bityutskiy 提交于
    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: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    fb22b59b
scan.h 5.9 KB