Skip to content

Commit e755c43

Browse files
sidkumar99akpm00
authored andcommitted
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>
1 parent 51ae3f4 commit e755c43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/maple_tree.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,8 +1307,8 @@ static inline void mas_free(struct ma_state *mas, struct maple_enode *used)
13071307
}
13081308

13091309
/*
1310-
* mas_node_count() - Check if enough nodes are allocated and request more if
1311-
* there is not enough nodes.
1310+
* mas_node_count_gfp() - Check if enough nodes are allocated and request more
1311+
* if there is not enough nodes.
13121312
* @mas: The maple state
13131313
* @count: The number of nodes needed
13141314
* @gfp: the gfp flags

0 commit comments

Comments
 (0)