mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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:
commit
14a9e5c09d
4 changed files with 17 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue