diff options
author | Mathias Krause <minipli@googlemail.com> | 2011-08-03 14:57:11 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-08-03 14:57:11 -0400 |
commit | db9481c0476c6475d058ac7ecebb5a822b43cc99 (patch) | |
tree | d3115cab19ab99912618428d9f9e76bbf3572857 /fs/ext4 | |
parent | ed8f37370d83e695c0a4fa5d5fc7a83ecb947526 (diff) | |
download | op-kernel-dev-db9481c0476c6475d058ac7ecebb5a822b43cc99.zip op-kernel-dev-db9481c0476c6475d058ac7ecebb5a822b43cc99.tar.gz |
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')
-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 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; |