Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33de04ec authored by Christoph Lameter's avatar Christoph Lameter Committed by Pekka Enberg
Browse files

slub: Use NUMA_NO_NODE in get_partial



A -1 was leftover during the conversion.

Signed-off-by: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
parent 607bf324
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1487,7 +1487,7 @@ static struct page *get_partial(struct kmem_cache *s, gfp_t flags, int node)
	int searchnode = (node == NUMA_NO_NODE) ? numa_node_id() : node;

	page = get_partial_node(get_node(s, searchnode));
	if (page || node != -1)
	if (page || node != NUMA_NO_NODE)
		return page;

	return get_any_partial(s, flags);