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>
This commit is contained in:
parent
774e1b78a0
commit
a298d57f96
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue