jbd: use kmem_cache_zalloc instead of kmem_cache_alloc/memset
authorZheng Liu <wenqing.lz@taobao.com>
Fri, 12 Apr 2013 02:24:06 +0000 (02:24 +0000)
committerJan Kara <jack@suse.cz>
Thu, 25 Apr 2013 13:25:23 +0000 (15:25 +0200)
commite162b2f835eeda0d255bd463753b5eb823735205
tree9de115d27b3ca4ee4e5275a43e32838a9edb123c
parente678a4f0f50d4fa4f7aaa6de8eb3f071513356a0
jbd: use kmem_cache_zalloc instead of kmem_cache_alloc/memset

Now jbd_alloc_handle is only called by new_handle.  So this commit
uses kmem_cache_zalloc instead of kmem_cache_alloc/memset.

Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/jbd/transaction.c
include/linux/jbd.h