Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull ext3/jbd fixes from Jan Kara: "A couple of ext3/jbd fixes" * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: jbd: use kmem_cache_zalloc for allocating journal head jbd: use kmem_cache_zalloc instead of kmem_cache_alloc/memset jbd: don't wait (forever) for stale tid caused by wraparound ext3: fix data=journal fast mount/umount hang
This commit is contained in:
+1
-1
@@ -887,7 +887,7 @@ extern struct kmem_cache *jbd_handle_cache;
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user