From 97166a023741875b85d72c3315816f484c5d2042 Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Wed, 8 Oct 2025 19:22:35 -0400 Subject: [PATCH] add some inlines Signed-off-by: Liam R. Howlett --- lib/maple_tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index b2300c798fea..6d36303aafd9 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -1547,7 +1547,7 @@ static inline unsigned long ma_leaf_max_gap(struct maple_node *mn, * * Return: The maximum gap in the leaf. */ -static unsigned long mas_leaf_max_gap(struct ma_state *mas) +static inline unsigned long mas_leaf_max_gap(struct ma_state *mas) { enum maple_type mt; struct maple_node *mn; @@ -3873,7 +3873,7 @@ static void mas_wr_rebalance(struct ma_wr_state *wr_mas) * mas_wr_store_entry() - Internal call to store a value * @wr_mas: The maple write state */ -static void mas_wr_store_entry(struct ma_wr_state *wr_mas) +static inline void mas_wr_store_entry(struct ma_wr_state *wr_mas) { struct ma_state *mas = wr_mas->mas; -- 2.51.0