]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: only set EXT4_MOUNT_QUOTA when journalled quota file is specified
authorLukas Czerner <lczerner@redhat.com>
Tue, 4 Jan 2022 14:35:18 +0000 (15:35 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2022 18:25:55 +0000 (13:25 -0500)
commit0e57e431aa309804f9f287c46c5641c44e76cfde
treecaf6e0fb49eb9a6e47b32c60574b5ba93e69c725
parent2d90b99194d00b86a5ed04161d916a860e37cdd3
ext4: only set EXT4_MOUNT_QUOTA when journalled quota file is specified

Only set EXT4_MOUNT_QUOTA when journalled quota file is specified,
otherwise simply disabling specific quota type (usrjquota=) will also
set the EXT4_MOUNT_QUOTA super block option.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Fixes: 046825a6f947 ("ext4: move quota configuration out of handle_mount_opt()")
Link: https://lore.kernel.org/r/20220104143518.134465-2-lczerner@redhat.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c