* [PATCH] ext4: use kzalloc in ext4_kzalloc() [not found] <1312204398-12460-2-git-send-email-tytso@mit.edu> @ 2011-08-02 6:07 ` Mathias Krause 2011-08-03 18:57 ` Ted Ts'o 0 siblings, 1 reply; 2+ messages in thread From: Mathias Krause @ 2011-08-02 6:07 UTC (permalink / raw) To: Theodore Ts'o, Andreas Dilger Cc: linux-ext4, linux-kernel, Mathias Krause 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> --- 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; -- 1.5.6.5 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ext4: use kzalloc in ext4_kzalloc() 2011-08-02 6:07 ` [PATCH] ext4: use kzalloc in ext4_kzalloc() Mathias Krause @ 2011-08-03 18:57 ` Ted Ts'o 0 siblings, 0 replies; 2+ messages in thread From: Ted Ts'o @ 2011-08-03 18:57 UTC (permalink / raw) To: Mathias Krause; +Cc: Andreas Dilger, linux-ext4, linux-kernel On Tue, Aug 02, 2011 at 08:07:15AM +0200, Mathias Krause wrote: > 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> Oops. Thanks for catching this. I'll make sure this gets pushed to Linus ASAP. - Ted ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-03 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1312204398-12460-2-git-send-email-tytso@mit.edu>
2011-08-02 6:07 ` [PATCH] ext4: use kzalloc in ext4_kzalloc() Mathias Krause
2011-08-03 18:57 ` Ted Ts'o
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox