Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Sidhartha Kumar and committed by
Andrew Morton
e755c43e 51ae3f4a

+2 -2
+2 -2
lib/maple_tree.c
··· 1307 1307 } 1308 1308 1309 1309 /* 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. 1312 1312 * @mas: The maple state 1313 1313 * @count: The number of nodes needed 1314 1314 * @gfp: the gfp flags