------------[ cut here ]------------
test_bit(BTRFS_FS_STATE_NO_DELAYED_IPUT, &fs_info->fs_state)
WARNING: fs/btrfs/inode.c:3596 at btrfs_add_delayed_iput+0x2ed/0x350, CPU#1: kworker/u10:17/7464
Modules linked in:

CPU: 1 UID: 0 PID: 7464 Comm: kworker/u10:17 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: btrfs-endio-write btrfs_work_helper
RIP: 0010:btrfs_add_delayed_iput+0x2ed/0x350
Code: a9 11 42 fe 48 8b 3b 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d e9 93 fd a4 fd e8 de bd d6 fd e9 ee fd ff ff e8 d4 bd d6 fd 90 <0f> 0b 90 e9 48 fe ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 7a
RSP: 0018:ffffc90003b7f7c0 EFLAGS: 00010293

RAX: ffffffff83ef019c RBX: ffff888194bb8000 RCX: ffff88816946bb00
RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffff888194bb9bf7 R09: 1ffff1103297737e
R10: dffffc0000000000 R11: ffffed103297737f R12: 0000000000000001
R13: dffffc0000000000 R14: ffff8881a29290b0 R15: 0000000000000200
FS:  0000000000000000(0000) GS:ffff8882a9218000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563207691bf8 CR3: 000000019cfc4000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 btrfs_put_ordered_extent+0x18f/0x430
 btrfs_finish_one_ordered+0xf63/0x2680
 btrfs_work_helper+0x37b/0xc20
 process_scheduled_works+0xb5d/0x1860
 worker_thread+0xa53/0xfc0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
