summaryrefslogtreecommitdiff
path: root/libbcachefs/quota.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.h
parenta10a41fa2b1a917b0f3b34d20175867f968b2d12 (diff)
Update bcachefs sources to 57ea7773cb bcachefs: Fix duplicate ioctl nr
Diffstat (limited to 'libbcachefs/quota.h')
-rw-r--r--libbcachefs/quota.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/libbcachefs/quota.h b/libbcachefs/quota.h
index 0c3eb697..eabb94c1 100644
--- a/libbcachefs/quota.h
+++ b/libbcachefs/quota.h
@@ -14,12 +14,6 @@ void bch2_quota_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
.val_to_text = bch2_quota_to_text, \
}
-enum quota_acct_mode {
- KEY_TYPE_QUOTA_PREALLOC,
- KEY_TYPE_QUOTA_WARN,
- KEY_TYPE_QUOTA_NOCHECK,
-};
-
static inline struct bch_qid bch_qid(struct bch_inode_unpacked *u)
{
return (struct bch_qid) {
@@ -42,7 +36,7 @@ int bch2_quota_acct(struct bch_fs *, struct bch_qid, enum quota_counters,
s64, enum quota_acct_mode);
int bch2_quota_transfer(struct bch_fs *, unsigned, struct bch_qid,
- struct bch_qid, u64);
+ struct bch_qid, u64, enum quota_acct_mode);
void bch2_fs_quota_exit(struct bch_fs *);
void bch2_fs_quota_init(struct bch_fs *);