slab: avoid double initialization & do initialization in 1 place
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 10 Feb 2008 10:21:54 +0000 (11:21 +0100)
committerChristoph Lameter <clameter@sgi.com>
Mon, 11 Feb 2008 19:06:00 +0000 (11:06 -0800)
- alloc_slabmgmt: initialize all slab fields in 1 place
- slab->nodeid was initialized twice: in alloc_slabmgmt
  and immediately after it in cache_grow

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
CC: Christoph Lameter <clameter@sgi.com>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Christoph Lameter <clameter@sgi.com>

No differences found