libceph: use KMEM_CACHE macro
authorGeliang Tang <geliangtang@163.com>
Sun, 13 Mar 2016 07:18:39 +0000 (15:18 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Mar 2016 17:51:57 +0000 (18:51 +0100)
commit5ee61e95b6b33c82f6fa1382585faed66aa01245
tree9bb4d4290f54c2796019a58bc7c1a517af1f31e8
parent99ec269779f1fde25356e14299419551cdb54443
libceph: use KMEM_CACHE macro

Use KMEM_CACHE() instead of kmem_cache_create() to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger.c