Xiaotian Feng 5788d8ad6c slub: release kobject if sysfs_create_group failed in sysfs_slab_add
When CONFIG_SLUB_DEBUG is enabled, sysfs_slab_add should unlink and put the
kobject if sysfs_create_group failed. Otherwise, sysfs_slab_add returns error
then free kmem_cache s, thus memory of s->kobj is leaked.

Acked-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Xiaotian Feng <dfeng@redhat.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
2009-09-03 21:11:41 +03:00
..
2009-04-01 08:59:13 -07:00
2009-06-16 19:47:28 -07:00
2009-06-16 19:50:13 -07:00
2009-06-16 19:47:40 -07:00
2009-06-16 19:50:13 -07:00
2009-06-25 11:22:13 -07:00
2009-07-06 13:57:03 -07:00
2009-06-18 13:03:47 -07:00
2009-06-24 08:17:06 -04:00
2009-06-29 09:57:10 +03:00
2009-06-18 13:03:47 -07:00
2009-06-23 12:50:05 -07:00