Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164426
b: refs/heads/master
c: fe1ff49
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Linus Torvalds committed Sep 22, 2009
1 parent 3881716 commit 49631bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 398499d5f3613c47f2143b8c54a04efb5d7a6da9
refs/heads/master: fe1ff49d0d1c30254dbfc84c3786eb538e0cc7d1
3 changes: 3 additions & 0 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -3345,6 +3345,9 @@ struct kmem_cache *kmem_cache_create(const char *name, size_t size,
{
struct kmem_cache *s;

if (WARN_ON(!name))
return NULL;

down_write(&slub_lock);
s = find_mergeable(size, align, flags, name, ctor);
if (s) {
Expand Down

0 comments on commit 49631bd

Please sign in to comment.