summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-12-19 06:50:18 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2018-12-27 11:38:38 -0500
commitd9a7c0bc0ca0fee4f12a07541f18f8e8c2e7c50b (patch)
tree4c3cf05768327e31194aaf746942e0e918399672
parentbeb7eef710af0f6d082e198dfd4c469e7311b06e (diff)
bcachefs: fix build when BCACHEFS_QUOTA=n
-rw-r--r--fs/bcachefs/quota.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/quota.h b/fs/bcachefs/quota.h
index eabb94c143a8..47e343cc0262 100644
--- a/fs/bcachefs/quota.h
+++ b/fs/bcachefs/quota.h
@@ -55,7 +55,8 @@ static inline int bch2_quota_acct(struct bch_fs *c, struct bch_qid qid,
static inline int bch2_quota_transfer(struct bch_fs *c, unsigned qtypes,
struct bch_qid dst,
- struct bch_qid src, u64 space)
+ struct bch_qid src, u64 space,
+ enum quota_acct_mode mode)
{
return 0;
}