diff options
-rw-r--r-- | fs/ext4/mballoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 7f6fc41a2dde..5f3e3a3a38d6 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -2699,7 +2699,7 @@ int ext4_mb_init(struct super_block *sb, int needs_recovery) | |||
2699 | i = (sb->s_blocksize_bits + 2) * sizeof(unsigned int); | 2699 | i = (sb->s_blocksize_bits + 2) * sizeof(unsigned int); |
2700 | sbi->s_mb_maxs = kmalloc(i, GFP_KERNEL); | 2700 | sbi->s_mb_maxs = kmalloc(i, GFP_KERNEL); |
2701 | if (sbi->s_mb_maxs == NULL) { | 2701 | if (sbi->s_mb_maxs == NULL) { |
2702 | kfree(sbi->s_mb_maxs); | 2702 | kfree(sbi->s_mb_offsets); |
2703 | return -ENOMEM; | 2703 | return -ENOMEM; |
2704 | } | 2704 | } |
2705 | 2705 | ||