projects/linux·commit 14595f70

Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4

14595f70 · Linus Torvalds <[email protected]> · 2011-08-03 15:09:10 -10:00

* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
  ext4: use kzalloc in ext4_kzalloc()
Commit
14595f708eeb528fabcee339ed0b9e0a2ecec73f
Parents
298507d4 · db9481c0

Merge commit. Changes below are compared with the first parent: 298507d4.

Changes

1 files changed · +1 −1

FileStatusAddDelContent
fs/ext4/super.cmodified+1−1View file

fs/ext4/super.c

View file
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index e2d88ba..4687fea 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -124,7 +124,7 @@ void *ext4_kvzalloc(size_t size, gfp_t flags)
{
void *ret;
- ret = kmalloc(size, flags);
+ ret = kzalloc(size, flags);
if (!ret)
ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL);
return ret;