projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[firefly-linux-kernel-4.4.55.git]
/
mm
/
slab.c
diff --git
a/mm/slab.c
b/mm/slab.c
index eb2b2ea301309887972c148bb80aedf8a6731b9b..f34e053ec46e24bb364a847ac498ef61b5011b27 100644
(file)
--- a/
mm/slab.c
+++ b/
mm/slab.c
@@
-3076,7
+3076,7
@@
static void *____cache_alloc_node(struct kmem_cache *cachep, gfp_t flags,
void *obj;
int x;
- VM_BUG_ON(nodeid
> num_online_nodes()
);
+ VM_BUG_ON(nodeid
< 0 || nodeid >= MAX_NUMNODES
);
n = get_node(cachep, nodeid);
BUG_ON(!n);