aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2011-08-09 16:12:24 -0500
committerPekka Enberg <penberg@kernel.org>2011-08-19 19:34:26 +0300
commite6e82ea1127d899af7eee876f1c1103716d13772 (patch)
tree76325c985e7265dd5dff9b37b785fa17b7630b03 /fs
parentslub: Remove useless statements in __slab_alloc (diff)
downloadlinux-dev-e6e82ea1127d899af7eee876f1c1103716d13772.tar.xz
linux-dev-e6e82ea1127d899af7eee876f1c1103716d13772.zip
slub: Prepare inuse field in new_slab()
inuse will always be set to page->objects. There is no point in initializing the field to zero in new_slab() and then overwriting the value in __slab_alloc(). Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions