mm: fix some comments formatting

Correct one function name "get_partials" with "get_partial".  Update the
old struct name of list3 with kmem_cache_node.

Signed-off-by: Chen Tao <chentao3@hotmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Link: https://lkml.kernel.org/r/Message-ID:
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
此提交包含在:
Chen Tao
2020-10-15 20:10:01 -07:00
提交者 Linus Torvalds
父節點 0e9aa67557
當前提交 70b6d25ec5
共有 2 個檔案被更改,包括 2 行新增2 行删除

查看文件

@@ -1956,7 +1956,7 @@ static void *get_partial_node(struct kmem_cache *s, struct kmem_cache_node *n,
/*
* Racy check. If we mistakenly see no partial slabs then we
* just allocate an empty slab. If we mistakenly try to get a
* partial slab and there is none available then get_partials()
* partial slab and there is none available then get_partial()
* will return NULL.
*/
if (!n || !n->nr_partial)