Commit 8948fc8f authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet
Browse files

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: default avatarKent Overstreet <kent.overstreet@gmail.com>
parent 3074bc0f
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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,							\