summaryrefslogtreecommitdiff
path: root/libbcachefs/fs-io.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-08-17 17:08:33 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-08-17 17:11:27 -0400
commit505c326cbe091b105dbdfbe66dae4ad6ee424906 (patch)
treea7bf3a8ebac5ef648d48489eb87964e79bb2e261 /libbcachefs/fs-io.h
parent4d04fe42623a2f2b91a75cfa3d3503ab88e48acc (diff)
Update bcachefs sources to a8115093df bcachefs: Fix divide by zero in rebalance_work()
Diffstat (limited to 'libbcachefs/fs-io.h')
-rw-r--r--libbcachefs/fs-io.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbcachefs/fs-io.h b/libbcachefs/fs-io.h
index c6704618..bb5b709f 100644
--- a/libbcachefs/fs-io.h
+++ b/libbcachefs/fs-io.h
@@ -108,15 +108,15 @@ static inline int bch2_quota_reservation_add(struct bch_fs *c,
#else
-static void __bch2_quota_reservation_put(struct bch_fs *c,
+static inline void __bch2_quota_reservation_put(struct bch_fs *c,
struct bch_inode_info *inode,
struct quota_res *res) {}
-static void bch2_quota_reservation_put(struct bch_fs *c,
+static inline void bch2_quota_reservation_put(struct bch_fs *c,
struct bch_inode_info *inode,
struct quota_res *res) {}
-static int bch2_quota_reservation_add(struct bch_fs *c,
+static inline int bch2_quota_reservation_add(struct bch_fs *c,
struct bch_inode_info *inode,
struct quota_res *res,
unsigned sectors,