Files
twx-linux/fs
Jan Kara f36b3dc737 ext4: fix bogus warning in ext4_update_dx_flag()
commit f902b21650 upstream.

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: 48a3431195 ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-24 13:05:53 +01:00
..
2020-11-05 11:07:03 +01:00
2020-04-02 16:34:33 +02:00
2020-10-29 09:07:16 +01:00
2020-08-21 09:48:18 +02:00
2020-08-26 10:29:56 +02:00
2019-12-17 20:38:15 +01:00
2020-11-18 18:27:58 +01:00
2020-03-11 18:02:43 +01:00
2020-04-02 16:34:21 +02:00