diff options
Diffstat (limited to 'include/linux/jbd.h')
-rw-r--r-- | include/linux/jbd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/jbd.h b/include/linux/jbd.h index c8f32975f0e4..7e0b622503c4 100644 --- a/include/linux/jbd.h +++ b/include/linux/jbd.h | |||
@@ -887,7 +887,7 @@ extern struct kmem_cache *jbd_handle_cache; | |||
887 | 887 | ||
888 | static inline handle_t *jbd_alloc_handle(gfp_t gfp_flags) | 888 | static inline handle_t *jbd_alloc_handle(gfp_t gfp_flags) |
889 | { | 889 | { |
890 | return kmem_cache_alloc(jbd_handle_cache, gfp_flags); | 890 | return kmem_cache_zalloc(jbd_handle_cache, gfp_flags); |
891 | } | 891 | } |
892 | 892 | ||
893 | static inline void jbd_free_handle(handle_t *handle) | 893 | static inline void jbd_free_handle(handle_t *handle) |