bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 4
bcachefs (loop3): clean shutdown complete, journal seq 5
bcachefs: bch2_verify_accounting_clean() fs_usage_base.nr_inodes mismatch: 0 != 2
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5835 at fs/bcachefs/disk_accounting.c:993 bch2_verify_accounting_clean+0x2a40/0x2c60 fs/bcachefs/disk_accounting.c:993
Modules linked in:
CPU: 0 UID: 0 PID: 5835 Comm: syz-executor Not tainted 6.14.0-syzkaller-05877-g1a9239bb4253 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:bch2_verify_accounting_clean+0x2a40/0x2c60 fs/bcachefs/disk_accounting.c:993
Code: 72 8c 48 c7 c6 46 17 37 8e 48 c7 c2 40 be 72 8c 31 c9 4d 89 e0 e8 40 23 c4 fc 48 c7 c0 20 d0 3d 93 48 8b 8c 24 b0 00 00 00 90 <0f> 0b 90 e9 8f fe ff ff e8 c3 87 60 fd e9 22 fb ff ff e8 b9 87 60
RSP: 0018:ffffc900041b75c0 EFLAGS: 00010246
RAX: ffffffff933dd020 RBX: 0000000000000000 RCX: fffff52000836eec
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900041b7a30 R08: ffffffff81a29dec R09: 1ffff92000836e54
R10: dffffc0000000000 R11: fffff52000836e55 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 000055555f93c500(0000) GS:ffff888125243000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555557ae7608 CR3: 000000005f10c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
bch2_fs_read_only+0x120c/0x1360 fs/bcachefs/super.c:379
__bch2_fs_stop+0x107/0x5b0 fs/bcachefs/super.c:634
generic_shutdown_super+0x139/0x2d0 fs/super.c:642
bch2_kill_sb+0x41/0x50 fs/bcachefs/fs.c:2312
deactivate_locked_super+0xc4/0x130 fs/super.c:473
cleanup_mnt+0x422/0x4c0 fs/namespace.c:1435
task_work_run+0x251/0x310 kernel/task_work.c:227
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9c8cb8e497
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:00007ffff7b56738 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f9c8cc0e08c RCX: 00007f9c8cb8e497
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffff7b567f0
RBP: 00007ffff7b567f0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffff7b57880
R13: 00007f9c8cc0e08c R14: 00000000000101f5 R15: 00007ffff7b578c0
</TASK>