ext4: remove redundant checks of s_encoding
authorEric Biggers <ebiggers@google.com>
Mon, 14 Aug 2023 18:29:02 +0000 (11:29 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 27 Aug 2023 15:27:13 +0000 (11:27 -0400)
commitb81427939590450172716093dafdda8ef52e020f
tree9bb032b4126127cf65cf213753da41d1e6a99ebb
parent8216776ccff6fcd40e3fdaa109aa4150ebe760b3
ext4: remove redundant checks of s_encoding

Now that ext4 does not allow inodes with the casefold flag to be
instantiated when unsupported, it's unnecessary to repeatedly check for
support later on during random filesystem operations.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20230814182903.37267-3-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/hash.c
fs/ext4/namei.c