[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240727011616.2144-1-hdanton@sina.com>
Date: Sat, 27 Jul 2024 09:16:16 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+20d7e439f76bbbd863a7@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [f2fs?] WARNING in rcu_sync_dtor
On Fri, 26 Jul 2024 00:54:21 -0700
> syzbot found the following issue on:
>
> HEAD commit: 1722389b0d86 Merge tag 'net-6.11-rc1' of git://git.kernel...
> git tree: upstream
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=115edac9980000
#syz test upstream 1722389b0d86
--- x/fs/f2fs/super.c
+++ y/fs/f2fs/super.c
@@ -4169,16 +4169,7 @@ void f2fs_handle_critical_error(struct f
*/
if (continue_fs || f2fs_readonly(sb) || shutdown) {
f2fs_warn(sbi, "Stopped filesystem due to reason: %d", reason);
- return;
}
-
- f2fs_warn(sbi, "Remounting filesystem read-only");
- /*
- * Make sure updated value of ->s_mount_flags will be visible before
- * ->s_flags update
- */
- smp_wmb();
- sb->s_flags |= SB_RDONLY;
}
static void f2fs_record_error_work(struct work_struct *work)
--
Powered by blists - more mailing lists