diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-08-31 21:10:58 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-09-05 20:49:37 +0300 |
commit | a298d57f960255d8618b86f403dee305d3c8a29c (patch) | |
tree | 877a3c524978e8f70a0903fd24540449e4edf5a3 /fs/f2fs/node.c | |
parent | 774e1b78a0f90a7e81f7a23d9ebfa8b8233c1ffa (diff) | |
download | linux-a298d57f960255d8618b86f403dee305d3c8a29c.tar.xz |
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/node.c')
-rw-r--r-- | fs/f2fs/node.c | 2 |
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; |