aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext4/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 5013d04b41fd..272e1881b5f8 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -699,7 +699,7 @@ void __ext4_abort(struct super_block *sb, const char *function,
699 jbd2_journal_abort(EXT4_SB(sb)->s_journal, -EIO); 699 jbd2_journal_abort(EXT4_SB(sb)->s_journal, -EIO);
700 save_error_info(sb, function, line); 700 save_error_info(sb, function, line);
701 } 701 }
702 if (test_opt(sb, ERRORS_PANIC)) { 702 if (test_opt(sb, ERRORS_PANIC) && !system_going_down()) {
703 if (EXT4_SB(sb)->s_journal && 703 if (EXT4_SB(sb)->s_journal &&
704 !(EXT4_SB(sb)->s_journal->j_flags & JBD2_REC_ERR)) 704 !(EXT4_SB(sb)->s_journal->j_flags & JBD2_REC_ERR))
705 return; 705 return;