summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSidhartha Kumar <sidhartha.kumar@oracle.com>2024-01-09 14:31:19 -0800
committerAndrew Morton <akpm@linux-foundation.org>2024-02-21 16:00:01 -0800
commite755c43eb4a33a29f92bca6df30e5a558845c2f7 (patch)
tree394790ec1899febd60e7a174dfc06774b7438242 /lib
parent51ae3f4ac5e94334ac6078145a02bc8f30e8528b (diff)
downloadlinux-stable-e755c43eb4a33a29f92bca6df30e5a558845c2f7.tar.gz
linux-stable-e755c43eb4a33a29f92bca6df30e5a558845c2f7.tar.bz2
linux-stable-e755c43eb4a33a29f92bca6df30e5a558845c2f7.zip
maple_tree: fix comment describing mas_node_count_gfp()
The function description comment for mas_node_count_gfp() mistakingly refers to the function as mas_node_count(). Change it to refer to the correct function. Link: https://lkml.kernel.org/r/20240109223119.162357-1-sidhartha.kumar@oracle.com Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Peng Zhang <zhangpeng.00@bytedance.com> Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/maple_tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index 6f241bb38799..7b161802860b 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -1307,8 +1307,8 @@ static inline void mas_free(struct ma_state *mas, struct maple_enode *used)
}
/*
- * mas_node_count() - Check if enough nodes are allocated and request more if
- * there is not enough nodes.
+ * mas_node_count_gfp() - Check if enough nodes are allocated and request more
+ * if there is not enough nodes.
* @mas: The maple state
* @count: The number of nodes needed
* @gfp: the gfp flags