summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2017-08-31 20:10:58 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2017-09-05 19:49:37 +0200
commita298d57f960255d8618b86f403dee305d3c8a29c (patch)
tree877a3c524978e8f70a0903fd24540449e4edf5a3 /fs
parentf2fs: trigger fdatasync for non-atomic_write file (diff)
downloadlinux-a298d57f960255d8618b86f403dee305d3c8a29c.tar.xz
linux-a298d57f960255d8618b86f403dee305d3c8a29c.zip
f2fs: don't need to update inode checksum for recovery
This patch fixes "f2fs: support inode checksum". The recovered inode page will be rewritten with valid checksum. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/f2fs/node.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index 2654c9166fba..388a00262a5f 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -2287,8 +2287,6 @@ retry:
F2FS_FITS_IN_INODE(src, le16_to_cpu(src->i_extra_isize),
i_projid))
dst->i_projid = src->i_projid;
-
- f2fs_inode_chksum_set(sbi, ipage);
}
new_ni = old_ni;