Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3020d79b authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Sahitya Tummala
Browse files

f2fs: don't need to update inode checksum for recovery



commit a298d57f960255d8618b86f403dee305d3c8a29c upstream.

This patch fixes "f2fs: support inode checksum".
The recovered inode page will be rewritten with valid checksum.

Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Git-commit: 654ed8fc
Git-repo: https://android.googlesource.com/kernel/common.git


Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 67a2f8c3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2296,8 +2296,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;