]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/slab_common.c: rename cache create/destroy helpers
authorVladimir Davydov <vdavydov@virtuozzo.com>
Wed, 21 Oct 2015 22:02:51 +0000 (09:02 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:02:51 +0000 (09:02 +1100)
commit7fd0aad3be0b761e70d17ae837735789b044474c
treed156db48fee3f86887d4468636940036292dc9a7
parent1db37c1fab7c7a28fdbb51fbd765b51c7e4ce9dc
mm/slab_common.c: rename cache create/destroy helpers

do_kmem_cache_create(), do_kmem_cache_shutdown(), and
do_kmem_cache_release() sound awkward for static helper functions that are
not supposed to be used outside slab_common.c.  Rename them to
create_cache(), shutdown_cache(), and release_caches(), respectively.
This patch is a pure cleanup and does not introduce any functional
changes.

Signed-off-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/slab_common.c