On Wed, May 18, 2022 at 09:40:43PM -0400, Gabriel Krisman Bertazi wrote: > Instead of a bunch of ifdefs, make the unicode built checks part of the > code flow where possible, as requested by Torvalds. > > Signed-off-by: Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxx> > > --- > Changes since v5: > - Drop err variable (eric) > Changes since v4: > - Create stub for !CONFIG_UNICODE case (eric) > --- > fs/ext4/ext4.h | 47 +++++++++++++++++++++++------------------------ > fs/ext4/namei.c | 15 ++++++--------- > fs/ext4/super.c | 4 +--- > 3 files changed, 30 insertions(+), 36 deletions(-) Reviewed-by: Eric Biggers <ebiggers@xxxxxxxxxx> - Eric