• Jaegeuk Kim's avatar
    f2fs: fix missing cold bit during recovery · 09eb483e
    Jaegeuk Kim authored
    In do_recover_data, we find and update previous node pages after updating
    its new block addresses.
    After then, we call fill_node_footer without reset field, we erase its
    cold bit so that this new cold node block is written to wrong log area.
    This patch fixes not to miss its old flag.
    Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
    09eb483e
node.h 11.1 KB