diff options
Diffstat (limited to 'fs')
-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) | |||
124 | { | 124 | { |
125 | void *ret; | 125 | void *ret; |
126 | 126 | ||
127 | ret = kmalloc(size, flags); | 127 | ret = kzalloc(size, flags); |
128 | if (!ret) | 128 | if (!ret) |
129 | ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL); | 129 | ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL); |
130 | return ret; | 130 | return ret; |