ceph: use kmem_cache_zalloc
authorGeliang Tang <geliangtang@163.com>
Sun, 13 Mar 2016 07:26:29 +0000 (15:26 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Mar 2016 17:51:56 +0000 (18:51 +0100)
commit99ec269779f1fde25356e14299419551cdb54443
tree7c440ee9ddd489d406174875a2aad9c8f4452cb1
parent03d9440676163e965cb77d03c102b461d8ccb482
ceph: use kmem_cache_zalloc

Use kmem_cache_zalloc() instead of kmem_cache_alloc() with flag GFP_ZERO.

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