aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext4/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 545932c0a290..628cfcdc0823 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -3527,6 +3527,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
3527 GFP_KERNEL); 3527 GFP_KERNEL);
3528 if (sbi->s_group_desc == NULL) { 3528 if (sbi->s_group_desc == NULL) {
3529 ext4_msg(sb, KERN_ERR, "not enough memory"); 3529 ext4_msg(sb, KERN_ERR, "not enough memory");
3530 ret = -ENOMEM;
3530 goto failed_mount; 3531 goto failed_mount;
3531 } 3532 }
3532 3533
@@ -3584,6 +3585,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
3584 } 3585 }
3585 if (err) { 3586 if (err) {
3586 ext4_msg(sb, KERN_ERR, "insufficient memory"); 3587 ext4_msg(sb, KERN_ERR, "insufficient memory");
3588 ret = err;
3587 goto failed_mount3; 3589 goto failed_mount3;
3588 } 3590 }
3589 3591