slab: fix starting index for finding another object
authorJoonsoo Kim <js1304@gmail.com>
Mon, 17 Sep 2012 21:09:06 +0000 (14:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 17 Sep 2012 22:00:38 +0000 (15:00 -0700)
commitd014dc2ed4fae84cb92509416c8bfc9078d4f0d9
tree18fc37fa196f4450daa8f31b25313e350fed312d
parent30c29bea6af2d3b6ffc8865864de7fc08cadb5df
slab: fix starting index for finding another object

In array cache, there is a object at index 0, check it.

Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Cc: David Miller <davem@davemloft.net>
Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slab.c