summaryrefslogtreecommitdiff
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorCarlos Maiolino <cem@kernel.org>2023-07-25 17:45:07 +0300
committerChristian Brauner <brauner@kernel.org>2023-08-09 10:15:39 +0300
commiteafc474e202978ac735c551d5ee1eb8c02e2be54 (patch)
tree567514c47c5b202dcf8ff9735015ac31e730a98e /fs/Kconfig
parent86be6b8bd834bece87e6adc5313cb41e1ba7fe81 (diff)
downloadlinux-eafc474e202978ac735c551d5ee1eb8c02e2be54.tar.xz
shmem: prepare shmem quota infrastructure
Add new shmem quota format, its quota_format_ops together with dquot_operations Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Jan Kara <jack@suse.cz> Message-Id: <20230725144510.253763-5-cem@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r--fs/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index 18d034ec7953..8218a71933f9 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -233,6 +233,18 @@ config TMPFS_INODE64
If unsure, say N.
+config TMPFS_QUOTA
+ bool "Tmpfs quota support"
+ depends on TMPFS
+ select QUOTA
+ help
+ Quota support allows to set per user and group limits for tmpfs
+ usage. Say Y to enable quota support. Once enabled you can control
+ user and group quota enforcement with quota, usrquota and grpquota
+ mount options.
+
+ If unsure, say N.
+
config ARCH_SUPPORTS_HUGETLBFS
def_bool n