Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 09eb483e authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: fix missing cold bit during recovery



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>
parent b9a2c252
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment