From d6f0f184aaaee5c0e39ff744b02dbb5d0ca1a252 Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Thu, 30 Aug 2007 23:56:26 -0700 Subject: [PATCH] --- yaml --- r: 64627 b: refs/heads/master c: 5d540fb71552b9f2c542bea967200c48be2d8ef6 h: refs/heads/master i: 64625: 4331a5a6a4a4333aa9dc7e391bfc2a0877954163 64623: dda6ed290470044f23475d324bdbbd1d0e71761b v: v3 --- [refs] | 2 +- trunk/mm/slub.c | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f053953bdbd1..0e97729f43d3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4ccdb4c8727c9963c7aa0d6301df283cf1f8a731 +refs/heads/master: 5d540fb71552b9f2c542bea967200c48be2d8ef6 diff --git a/trunk/mm/slub.c b/trunk/mm/slub.c index 04151da399c6..7defe84e6bd0 100644 --- a/trunk/mm/slub.c +++ b/trunk/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); }