diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 93c14ecac831e..affccf55294e9 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -2249,6 +2249,7 @@ static int ext4_setup_super(struct super_block *sb, struct ext4_super_block *es, ext4_msg(sb, KERN_ERR, "revision level too high, " "forcing read-only mode"); err = -EROFS; + goto done; } if (read_only) goto done;