f2fs: remove obsolete code
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 24 Feb 2015 03:59:52 +0000 (19:59 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 3 Mar 2015 17:58:48 +0000 (09:58 -0800)
This patch removes obsolete code in which summary variable is not needed.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/recovery.c

index 188a03449c5cbced2563a2ffc980fa48874bc9ae..b2a92d47c5d7606e065f0a1ae08fa08f24ad7a47 100644 (file)
@@ -407,8 +407,6 @@ static int do_recover_data(struct f2fs_sb_info *sbi, struct inode *inode,
                dn.ofs_in_node++;
        }
 
-       /* write node page in place */
-       set_summary(&sum, dn.nid, 0, 0);
        if (IS_INODE(dn.node_page))
                sync_inode_page(&dn);