|
@@ -887,7 +887,7 @@ extern struct kmem_cache *jbd_handle_cache;
|
|
|
|
|
|
|
|
static inline handle_t *jbd_alloc_handle(gfp_t gfp_flags)
|
|
static inline handle_t *jbd_alloc_handle(gfp_t gfp_flags)
|
|
|
{
|
|
{
|
|
|
- return kmem_cache_alloc(jbd_handle_cache, gfp_flags);
|
|
|
|
|
|
|
+ return kmem_cache_zalloc(jbd_handle_cache, gfp_flags);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static inline void jbd_free_handle(handle_t *handle)
|
|
static inline void jbd_free_handle(handle_t *handle)
|