commit | 09eb483e895f36fd002e88c878e9578c359aa468 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Dec 23 16:26:31 2014 -0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Jan 09 17:02:25 2015 -0800 |
tree | 8237cf3cae658a3cb1e79728617bb1ecfa2fadb1 | |
parent | b9a2c252071d44d4a22082611db84272be1f3b49 [diff] |
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: Jaegeuk Kim <jaegeuk@kernel.org>