jbd2: use kmem_cache_zalloc instead of kmem_cache_alloc/memset
authorZheng Liu <wenqing.lz@taobao.com>
Fri, 19 Apr 2013 21:49:23 +0000 (17:49 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 19 Apr 2013 21:49:23 +0000 (17:49 -0400)
commit28daf4fae8693d4a285123494899fe01950cba50
treeb0eb2335ada7a6940190bba0f8b65f6bc8674ddf
parent2656497b26d45c1ca51a7727ab92c8307cb99305
jbd2: use kmem_cache_zalloc instead of kmem_cache_alloc/memset

The jbd2_alloc_handle() function 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: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/transaction.c
include/linux/jbd2.h