|
@@ -2386,7 +2386,7 @@ static int ext4_mb_init_backend(struct super_block *sb)
|
|
|
/* An 8TB filesystem with 64-bit pointers requires a 4096 byte
|
|
|
* kmalloc. A 128kb malloc should suffice for a 256TB filesystem.
|
|
|
* So a two level scheme suffices for now. */
|
|
|
- sbi->s_group_info = kmalloc(array_size, GFP_KERNEL);
|
|
|
+ sbi->s_group_info = kzalloc(array_size, GFP_KERNEL);
|
|
|
if (sbi->s_group_info == NULL) {
|
|
|
printk(KERN_ERR "EXT4-fs: can't allocate buddy meta group\n");
|
|
|
return -ENOMEM;
|