Re: [syzbot] [fs?] WARNING in rcu_sync_dtor (2)
From: Hillf Danton
Date: Sat Nov 16 2024 - 19:27:59 EST
On Sat, 16 Nov 2024 01:33:34 -0800
> syzbot found the following issue on:
>
> HEAD commit: 2d5404caa8c7 Linux 6.12-rc7
> git tree: upstream
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12188ce8580000
#syz test
--- x/fs/exfat/super.c
+++ y/fs/exfat/super.c
@@ -46,9 +46,6 @@ static int exfat_sync_fs(struct super_bl
struct exfat_sb_info *sbi = EXFAT_SB(sb);
int err = 0;
- if (unlikely(exfat_forced_shutdown(sb)))
- return 0;
-
if (!wait)
return 0;
@@ -189,7 +186,6 @@ int exfat_force_shutdown(struct super_bl
set_bit(EXFAT_FLAGS_SHUTDOWN, &sbi->s_exfat_flags);
break;
case EXFAT_GOING_DOWN_NOSYNC:
- set_bit(EXFAT_FLAGS_SHUTDOWN, &sbi->s_exfat_flags);
break;
default:
return -EINVAL;
--