diff options
| author | Jan Kara <[email protected]> | 2020-11-18 15:30:32 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2020-11-20 03:41:10 +0000 |
| commit | f902b216501094495ff75834035656e8119c537f (patch) | |
| tree | 16f6f6ba6ef8d7c378c0c2e8b08eb73749cfbeb3 /scripts/gcc-plugins/gcc-common.h | |
| parent | jbd2: fix kernel-doc markups (diff) | |
| download | kernel-f902b216501094495ff75834035656e8119c537f.tar.gz kernel-f902b216501094495ff75834035656e8119c537f.zip | |
ext4: fix bogus warning in ext4_update_dx_flag()
The idea of the warning in ext4_update_dx_flag() is that we should warn
when we are clearing EXT4_INODE_INDEX on a filesystem with metadata
checksums enabled since after clearing the flag, checksums for internal
htree nodes will become invalid. So there's no need to warn (or actually
do anything) when EXT4_INODE_INDEX is not set.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 48a34311953d ("ext4: fix checksum errors with indexed dirs")
Reported-by: Eric Biggers <[email protected]>
Reviewed-by: Eric Biggers <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Cc: [email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
