summaryrefslogtreecommitdiff
path: root/fs/bcachefs/opts.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-09-26 20:54:14 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:12 +0300
commit8948fc8f1521702d87a21b9c43c1228e53e3fc29 (patch)
tree11aea7b0dc9b47356716c5bbbbbb3a918b12b9bb /fs/bcachefs/opts.h
parent3074bc0f7de749440c5e2b01a03ee2226fe69b52 (diff)
downloadlinux-8948fc8f1521702d87a21b9c43c1228e53e3fc29.tar.xz
bcachefs: Disable quota support
Existing quota support breaks badly with snapshots. We're not deleting the code because some of it will be needed when we reimplement quotas along the lines of btrfs subvolume quotas. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/opts.h')
-rw-r--r--fs/bcachefs/opts.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/bcachefs/opts.h b/fs/bcachefs/opts.h
index 4b79e3bc0ac0..c5def5b1f558 100644
--- a/fs/bcachefs/opts.h
+++ b/fs/bcachefs/opts.h
@@ -215,19 +215,19 @@ enum opt_type {
BCH_SB_POSIX_ACL, true, \
NULL, "Enable POSIX acls") \
x(usrquota, u8, \
- OPT_FORMAT|OPT_MOUNT, \
+ 0, \
OPT_BOOL(), \
- BCH_SB_USRQUOTA, false, \
+ NO_SB_OPT, false, \
NULL, "Enable user quotas") \
x(grpquota, u8, \
- OPT_FORMAT|OPT_MOUNT, \
+ 0, \
OPT_BOOL(), \
- BCH_SB_GRPQUOTA, false, \
+ NO_SB_OPT, false, \
NULL, "Enable group quotas") \
x(prjquota, u8, \
- OPT_FORMAT|OPT_MOUNT, \
+ 0, \
OPT_BOOL(), \
- BCH_SB_PRJQUOTA, false, \
+ NO_SB_OPT, false, \
NULL, "Enable project quotas") \
x(degraded, u8, \
OPT_MOUNT, \