diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-09-26 13:54:14 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-09-26 17:02:24 -0400 |
commit | 19baf6d15ca1506fad26fccece18e89e03811772 (patch) | |
tree | d0da5d9c5e2e9663e810332f0483b0d37f59a1e8 | |
parent | 2d03e85cae046b9821bd0263586e4a1c0124a1c7 (diff) |
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>
-rw-r--r-- | fs/bcachefs/opts.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/bcachefs/opts.h b/fs/bcachefs/opts.h index 147b4021fdae..d39d6a546ac4 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, \ |