f2fs: leave comment for code readability
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 22 Jan 2015 22:48:28 +0000 (14:48 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 Feb 2015 01:04:34 +0000 (17:04 -0800)
During the recovery, any xattr blocks should not be found, since they are
written into cold log, not the warm node chain.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/recovery.c

index c4211a5862df65d9d1ad81a9a5681d513561774f..57603a7127f792adcbcfdeb3bd383d8feac0aa0e 100644 (file)
@@ -346,6 +346,10 @@ static int do_recover_data(struct f2fs_sb_info *sbi, struct inode *inode,
        if (IS_INODE(page)) {
                recover_inline_xattr(inode, page);
        } else if (f2fs_has_xattr_block(ofs_of_node(page))) {
+               /*
+                * Deprecated; xattr blocks should be found from cold log.
+                * But, we should remain this for backward compatibility.
+                */
                recover_xattr_data(inode, page, blkaddr);
                goto out;
        }
This page took 0.026445 seconds and 5 git commands to generate.