slub: for_each_object must be passed the number of objects in a slab
authorChristoph Lameter <clameter@sgi.com>
Mon, 14 Apr 2008 16:11:31 +0000 (19:11 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 27 Apr 2008 15:28:17 +0000 (18:28 +0300)
commit224a88be40c45c0da5bdc45a8118004a37c60e8a
tree9489ff039b8124a25af0e7f0f12c25c5911c6e1e
parent39b264641a0c3b5e0e742e2046b49e92d1f3be88
slub: for_each_object must be passed the number of objects in a slab

Pass the number of objects to the for_each_object macro. Most of these are
debug related.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c