diff options
| author | Daeho Jeong <daeho.jeong@samsung.com> | 2016-12-01 11:49:12 -0500 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-07-04 11:50:57 +0200 |
| commit | 33882bdff6b6d2562c657b577473562f9a6143e6 (patch) | |
| tree | 56da78d3a8a5f11105aadd2bdba75432f0ac8655 /block | |
| parent | 9e51e88173ee2929a84212a179a21b1f688e49fe (diff) | |
ext4: fix inode checksum calculation problem if i_extra_size is small
commit 05ac5aa18abd7db341e54df4ae2b4c98ea0e43b7 upstream.
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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
