| Submitter | Mathias Krause |
|---|---|
| Date | Aug. 2, 2011, 6:07 a.m. |
| Message ID | <1312265235-19978-1-git-send-email-minipli@googlemail.com> |
| Download | mbox | patch |
| Permalink | /patch/107840/ |
| State | Accepted |
| Headers | show |
Comments
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 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
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;
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(-)