summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2017-08-31 11:10:58 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2017-09-05 10:49:37 -0700
commita298d57f960255d8618b86f403dee305d3c8a29c (patch)
tree877a3c524978e8f70a0903fd24540449e4edf5a3 /fs/f2fs
parent774e1b78a0f90a7e81f7a23d9ebfa8b8233c1ffa (diff)
downloadlinux-a298d57f960255d8618b86f403dee305d3c8a29c.tar.gz
linux-a298d57f960255d8618b86f403dee305d3c8a29c.tar.bz2
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/f2fs')
-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;