jbd: use kmem_cache_zalloc instead of kmem_cache_alloc/memset
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / jbd / transaction.c
index 071d6905f0dd92c57dc2a8e6a5e62f81993ca5e8..e3e255c0a50968cd41efe9f9b9706290875f47fd 100644 (file)
@@ -245,7 +245,6 @@ static handle_t *new_handle(int nblocks)
        handle_t *handle = jbd_alloc_handle(GFP_NOFS);
        if (!handle)
                return NULL;
-       memset(handle, 0, sizeof(*handle));
        handle->h_buffer_credits = nblocks;
        handle->h_ref = 1;