]> 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)
commitfbc41c70f3e636632fc2d687cd17790a055ca22f
treecaf6e0fb49eb9a6e47b32c60574b5ba93e69c725
parent6a65aaf50b8c7c2c7ee7440efd4186e258e94837
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: c961fcaac4a4 ("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