BUG: sleeping function called from invalid context at fs/inode.c:1928
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 21308, name: syz-executor
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
2 locks held by syz-executor/21308:
 #0: ffff8881237620e0 (&type->s_umount_key#55){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff888123762998 (&s->s_inode_list_lock){+.+.}-{3:3}, at: hook_sb_delete+0xae/0xbd0
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 UID: 0 PID: 21308 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 __might_resched+0x495/0x610
 iput+0x2b/0xc50
 hook_sb_delete+0x6b5/0xbd0
 security_sb_delete+0x80/0x150
 generic_shutdown_super+0xaa/0x2c0
 bch2_kill_sb+0x41/0x50
 deactivate_locked_super+0xbc/0x130
 cleanup_mnt+0x425/0x4c0
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xe9/0x130
 do_syscall_64+0x2bd/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdf07d8ff57
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffcbce08688 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fdf07e11c2d RCX: 00007fdf07d8ff57
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcbce08740
RBP: 00007ffcbce08740 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffcbce097d0
R13: 00007fdf07e11c2d R14: 00000000000d3fcc R15: 00007ffcbce09810
 </TASK>
bcachefs (loop1): shutting down
bcachefs (loop1): going read-only
bcachefs (loop1): finished waiting for writes to stop
bcachefs (loop1): flushing journal and stopping allocators, journal seq 4
bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 4
bcachefs (loop1): clean shutdown complete, journal seq 5
bcachefs (loop1): marking filesystem clean
bcachefs (loop1): shutdown complete
