diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index d733db8a0b026258b590219b8e9cc76f4ffffe9a..6ddebc9f1b90ebf5c1563a61c040af3f69af661c 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -4886,7 +4886,7 @@ static int ext4_load_and_init_journal(struct super_block *sb,
 	flush_work(&sbi->s_error_work);
 	jbd2_journal_destroy(sbi->s_journal);
 	sbi->s_journal = NULL;
-	return err;
+	return -EINVAL;
 }
 
 static int ext4_journal_data_mode_check(struct super_block *sb)