diff options
author | Jan Kara <jack@suse.cz> | 2020-11-18 16:30:32 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-11-19 22:41:10 -0500 |
commit | f902b216501094495ff75834035656e8119c537f (patch) | |
tree | 16f6f6ba6ef8d7c378c0c2e8b08eb73749cfbeb3 /tools/kvm/kvm_stat | |
parent | 2bf31d94423c8ae3ff58e38a115b177df6940399 (diff) | |
download | linux-f902b216501094495ff75834035656e8119c537f.tar.gz linux-f902b216501094495ff75834035656e8119c537f.tar.bz2 linux-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/20201118153032.17281-1-jack@suse.cz
Fixes: 48a34311953d ("ext4: fix checksum errors with indexed dirs")
Reported-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'tools/kvm/kvm_stat')
0 files changed, 0 insertions, 0 deletions