SLUB: fix build when !SLUB_DEBUG
authorAlexander Beregalov <a.beregalov@gmail.com>
Thu, 11 Jun 2009 10:08:48 +0000 (14:08 +0400)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sat, 13 Jun 2009 20:37:37 +0000 (23:37 +0300)
commit26c02cf05ddadfee3952e829b841583794bf46f6
treea0075e3eabc21470f2092b944714ef6581f2fff4
parent781b2ba6eb5f22440afac9c79a89ebd6e3674a60
SLUB: fix build when !SLUB_DEBUG

Fix this build error when CONFIG_SLUB_DEBUG is not set:
mm/slub.c: In function 'slab_out_of_memory':
mm/slub.c:1551: error: 'struct kmem_cache_node' has no member named 'nr_slabs'
mm/slub.c:1552: error: 'struct kmem_cache_node' has no member named 'total_objects'

[ penberg@cs.helsinki.fi: cleanups ]
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c