]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
libfs: remove redundant checks of s_encoding
authorEric Biggers <ebiggers@google.com>
Mon, 14 Aug 2023 18:29:03 +0000 (11:29 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 27 Aug 2023 15:27:13 +0000 (11:27 -0400)
commitaf494af38580a35b92f921639a60630a2307bcc2
tree37414b2979eb229366c08c9b9c4e49ede53627df
parentb81427939590450172716093dafdda8ef52e020f
libfs: remove redundant checks of s_encoding

Now that neither ext4 nor f2fs allows 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-4-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/libfs.c