• A
    UBIFS: allocate scanning buffer on demand · cd5f7485
    Artem Bityutskiy 提交于
    Instead of using pre-allocated 'c->dbg->buf' buffer in
    'scan_check_cb()', dynamically allocate it when needed. The intend
    is to get rid of the pre-allocated 'c->dbg->buf' buffer and save
    128KiB of RAM (or more if PEB size is larger). Indeed, currently we
    allocate this memory even if the user never enables any self-check,
    which is wasteful.
    Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    cd5f7485
lprops.c 36.5 KB