Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227689
b: refs/heads/master
c: 98072e4
h: refs/heads/master
i:
  227687: ad25efa
v: v3
  • Loading branch information
Pavel Emelyanov authored and Pekka Enberg committed Nov 6, 2010
1 parent 5a15470 commit c3e3e63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 716ce5d4a6f81653507c21b152eb7629d150ce7a
refs/heads/master: 98072e4d977aabe6a39abb95951cd8bf2c2202d5
3 changes: 2 additions & 1 deletion trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -3289,9 +3289,9 @@ struct kmem_cache *kmem_cache_create(const char *name, size_t size,
kfree(n);
kfree(s);
}
err:
up_write(&slub_lock);

err:
if (flags & SLAB_PANIC)
panic("Cannot create slabcache %s\n", name);
else
Expand Down Expand Up @@ -3878,6 +3878,7 @@ static ssize_t show_slab_objects(struct kmem_cache *s,
x += sprintf(buf + x, " N%d=%lu",
node, nodes[node]);
#endif
up_read(&slub_lock);
kfree(nodes);
return x + sprintf(buf + x, "\n");
}
Expand Down

0 comments on commit c3e3e63

Please sign in to comment.