X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=mm%2Fslub.c;h=7defe84e6bd0bfec5e8c8f6b7833f2f2c0ea53ea;hb=618a821dc24a4018b0c5c01785d052459a90edb4;hp=04151da399c6ce8c344409c2ce7fbf289ac645e5;hpb=519ef1af47bb7379c4c06aeba2d78073df92c151;p=linux-2.6 diff --git a/mm/slub.c b/mm/slub.c index 04151da399..7defe84e6b 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -3813,7 +3813,9 @@ 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) { @@ -3821,7 +3823,9 @@ static int __init slab_sysfs_init(void) 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); }