]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit931e6ed732e4a780cbe1ad096183bd5c88ad66d2
tree31c49e1004d7cd1d6fb59cff469957394f87a05a
parent702ba83a739f685fcec7449c0c76de8c75e8499f
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