summaryrefslogtreecommitdiff
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2007-08-31 10:56:26 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-31 12:42:22 +0400
commit5d540fb71552b9f2c542bea967200c48be2d8ef6 (patch)
treeaf328bd4d12b2b91c6fa53af94a78fcc370562ce /kernel/sys.c
parent4ccdb4c8727c9963c7aa0d6301df283cf1f8a731 (diff)
downloadlinux-5d540fb71552b9f2c542bea967200c48be2d8ef6.tar.xz
slub: do not fail if we cannot register a slab with sysfs
Do not BUG() if we cannot register a slab with sysfs. Just print an error. The only consequence of not registering is that the slab cache is not visible via /sys/slab. A BUG() may not be visible that early during boot and we have had multiple issues here already. Signed-off-by: Christoph Lameter <clameter@sgi.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions