Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64627
b: refs/heads/master
c: 5d540fb
h: refs/heads/master
i:
  64625: 4331a5a
  64623: dda6ed2
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Aug 31, 2007
1 parent 9c80cb7 commit d6f0f18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: 4ccdb4c8727c9963c7aa0d6301df283cf1f8a731
refs/heads/master: 5d540fb71552b9f2c542bea967200c48be2d8ef6
8 changes: 6 additions & 2 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -3813,15 +3813,19 @@ static int __init slab_sysfs_init(void)

list_for_each_entry(s, &slab_caches, list) {
err = sysfs_slab_add(s);
BUG_ON(err);
if (err)
printk(KERN_ERR "SLUB: Unable to add boot slab %s"
" to sysfs\n", s->name);
}

while (alias_list) {
struct saved_alias *al = alias_list;

alias_list = alias_list->next;
err = sysfs_slab_alias(al->s, al->name);
BUG_ON(err);
if (err)
printk(KERN_ERR "SLUB: Unable to add boot slab alias"
" %s to sysfs\n", s->name);
kfree(al);
}

Expand Down

0 comments on commit d6f0f18

Please sign in to comment.