summaryrefslogtreecommitdiff
path: root/libbcachefs/quota_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-12-17 09:26:29 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2018-12-17 09:26:29 -0500
commitf9ba96e16535a653b97f7f1f953fabf477737a96 (patch)
tree012aed6c10dbdcdb1ec2a223d7070f3eb6249139 /libbcachefs/quota_types.h
parenta10a41fa2b1a917b0f3b34d20175867f968b2d12 (diff)
Update bcachefs sources to 57ea7773cb bcachefs: Fix duplicate ioctl nr
Diffstat (limited to 'libbcachefs/quota_types.h')
-rw-r--r--libbcachefs/quota_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbcachefs/quota_types.h b/libbcachefs/quota_types.h
index bcaed4ea..e978dc54 100644
--- a/libbcachefs/quota_types.h
+++ b/libbcachefs/quota_types.h
@@ -7,6 +7,12 @@ struct bch_qid {
u32 q[QTYP_NR];
};
+enum quota_acct_mode {
+ KEY_TYPE_QUOTA_PREALLOC,
+ KEY_TYPE_QUOTA_WARN,
+ KEY_TYPE_QUOTA_NOCHECK,
+};
+
struct memquota_counter {
u64 v;
u64 hardlimit;