slab: introduce helper functions to get/set free object
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Mon, 2 Dec 2013 08:49:40 +0000 (17:49 +0900)
committerPekka Enberg <penberg@kernel.org>
Sat, 8 Feb 2014 10:10:35 +0000 (12:10 +0200)
commite5c58dfdcbd36f6b4c4c92c31cf6753d22da630a
tree77d6714ad9b14aefdef667c6efe72c58a5a6c6c7
parent9cef2e2b6589406562bf12a9a633d7d7630340a1
slab: introduce helper functions to get/set free object

In the following patches, to get/set free objects from the freelist
is changed so that simple casting doesn't work for it. Therefore,
introduce helper functions.

Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slab.c