projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
774e1b7
)
f2fs: don't need to update inode checksum for recovery
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 31 Aug 2017 18:10:58 +0000
(11:10 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 5 Sep 2017 17:49:37 +0000
(10:49 -0700)
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>
fs/f2fs/node.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/node.c
b/fs/f2fs/node.c
index 2654c9166fbaeadd3df5d7f1c25764b1eed4ddbc..388a00262a5f5cfeaec584454abfe30dc200547d 100644
(file)
--- 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;