diff options
author | Mathias Krause <minipli@googlemail.com> | 2011-08-03 20:57:11 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-08-03 20:57:11 +0200 |
commit | db9481c0476c6475d058ac7ecebb5a822b43cc99 (patch) | |
tree | d3115cab19ab99912618428d9f9e76bbf3572857 /fs/ext4/super.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mas... (diff) | |
download | linux-db9481c0476c6475d058ac7ecebb5a822b43cc99.tar.xz linux-db9481c0476c6475d058ac7ecebb5a822b43cc99.zip |
ext4: use kzalloc in ext4_kzalloc()
Commit 9933fc0i (ext4: introduce ext4_kvmalloc(), ext4_kzalloc(), and
ext4_kvfree()) intruduced wrappers around k*alloc/vmalloc but introduced
a typo for ext4_kzalloc() by not using kzalloc() but kmalloc().
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index e2d88baf91d3..4687fea0c00f 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; |