From 2e665e9f168f38c88aa986ed41adbef0bedc7228 Mon Sep 17 00:00:00 2001 From: yangerkun Date: Wed, 13 Oct 2021 15:43:08 +0800 Subject: [PATCH] Revert "ext4: fix panic when mount failed with parallel flush_stashed_error_work" hulk inclusion category: bugfix bugzilla: 172146, https://gitee.com/openeuler/kernel/issues/I46HJ6 CVE: NA --------------------------- This reverts commit fde31a90246972ddb417381d2b26831a001edaa1. We will include the mainline patch, revert this now. Signed-off-by: yangerkun Reviewed-by: Zhang Yi Signed-off-by: Yang Yingliang --- fs/ext4/super.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 280e991e61f4..d793e597c062 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -4832,7 +4832,6 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) sbi->s_ea_block_cache = NULL; } if (sbi->s_journal) { - flush_work(&sbi->s_error_work); jbd2_journal_destroy(sbi->s_journal); sbi->s_journal = NULL; } -- GitLab