rbd: use KMEM_CACHE macro
authorGeliang Tang <geliangtang@163.com>
Sun, 13 Mar 2016 07:17:32 +0000 (15:17 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Mar 2016 17:51:56 +0000 (18:51 +0100)
commit03d9440676163e965cb77d03c102b461d8ccb482
treec88ddbc3309aa5f6b24e82f709715ce7fe8c9baa
parent200fd27c8fa2ba8bb4529033967b69a7cbfa2c2e
rbd: 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>
drivers/block/rbd.c