]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: check ext2/3 compatibility outside handle_mount_opt()
authorLukas Czerner <lczerner@redhat.com>
Wed, 27 Oct 2021 14:18:51 +0000 (16:18 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 9 Dec 2021 19:11:07 +0000 (14:11 -0500)
commita1f78e686c21830f3286f3d4f74ec51601babd6f
tree9ac06a8ba185ec6b662682bc2df1a750bdbe31f4
parent046825a6f9479ee1e39b960b4d4cdd8c6c20c217
ext4: check ext2/3 compatibility outside handle_mount_opt()

At the parsing phase of mount in the new mount api sb will not be
available so move ext2/3 compatibility check outside handle_mount_opt().
Unfortunately we will lose the ability to show exactly which option is
not compatible.

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