summaryrefslogtreecommitdiff
path: root/net/core/net-traces.c
diff options
context:
space:
mode:
authorLuo Meng <luomeng12@huawei.com>2020-10-20 04:36:31 +0300
committerTheodore Ts'o <tytso@mit.edu>2020-10-22 06:22:38 +0300
commit1322181170bb01bce3c228b82ae3d5c6b793164f (patch)
tree2163ef6027003901e837202288f607fbd375c3be /net/core/net-traces.c
parentce8c59d197c824789e1ade6f25d36037b4f0faeb (diff)
downloadlinux-1322181170bb01bce3c228b82ae3d5c6b793164f.tar.xz
ext4: fix invalid inode checksum
During the stability test, there are some errors: ext4_lookup:1590: inode #6967: comm fsstress: iget: checksum invalid. If the inode->i_iblocks too big and doesn't set huge file flag, checksum will not be recalculated when update the inode information to it's buffer. If other inode marks the buffer dirty, then the inconsistent inode will be flushed to disk. Fix this problem by checking i_blocks in advance. Cc: stable@kernel.org Signed-off-by: Luo Meng <luomeng12@huawei.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Link: https://lore.kernel.org/r/20201020013631.3796673-1-luomeng12@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'net/core/net-traces.c')
0 files changed, 0 insertions, 0 deletions