diff options
author | Daeho Jeong <daeho.jeong@samsung.com> | 2016-12-01 11:49:12 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-12-01 11:49:12 -0500 |
commit | 05ac5aa18abd7db341e54df4ae2b4c98ea0e43b7 (patch) | |
tree | 3fb1195e0f6f2961659b59a6c06a0cd48c243188 /drivers/thermal/armada_thermal.c | |
parent | 6dcc693bc57f198bd85a7881eb59a915366fae1e (diff) | |
download | op-kernel-dev-05ac5aa18abd7db341e54df4ae2b4c98ea0e43b7.zip op-kernel-dev-05ac5aa18abd7db341e54df4ae2b4c98ea0e43b7.tar.gz |
ext4: fix inode checksum calculation problem if i_extra_size is small
We've fixed the race condition problem in calculating ext4 checksum
value in commit b47820edd163 ("ext4: avoid modifying checksum fields
directly during checksum veficationon"). However, by this change,
when calculating the checksum value of inode whose i_extra_size is
less than 4, we couldn't calculate the checksum value in a proper way.
This problem was found and reported by Nix, Thank you.
Reported-by: Nix <nix@esperi.org.uk>
Signed-off-by: Daeho Jeong <daeho.jeong@samsung.com>
Signed-off-by: Youngjin Gil <youngjin.gil@samsung.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'drivers/thermal/armada_thermal.c')
0 files changed, 0 insertions, 0 deletions