ext4: Remove unused match_table_t tokens
authorLukas Czerner <lczerner@redhat.com>
Wed, 27 Oct 2021 14:18:57 +0000 (16:18 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 9 Dec 2021 19:11:08 +0000 (14:11 -0500)
commitba2e524d918ab72c0e5edc02354bd6cb43d005f8
tree31c49e1004d7cd1d6fb59cff469957394f87a05a
parentcebe85d570cf84804e848332d6721bc9e5300e07
ext4: Remove unused match_table_t tokens

Remove unused match_table_t, slim down mount_opts structure by removing
unnecessary definitions, remove redundant MOPT_ flags and clean up
ext4_parse_param() by converting the most of the if/else branching to
switch except for the MOPT_SET/MOPT_CEAR handling.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Link: https://lore.kernel.org/r/20211027141857.33657-14-lczerner@redhat.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c