option from the mount to silence this warning. ======================================================= bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,compression=zstd,norecovery,recovery_pass_last=check_dirents,nojournal_transaction_names,no_data_io bcachefs (loop0): recovering from clean shutdown, journal seq 7 bcachefs (loop0): Doing compatible version upgrade from 1.7: mi_btree_bitmap to 1.12: rebalance_work_acct_fix running recovery passes: check_allocations invalid bkey u64s 11 type alloc_v4 0:14:0 len 0 ver 0: gen 0 oldest_gen 0 data_type journal journal_seq 1 need_discard 1 need_inc_gen 1 dirty_sectors 256 stripe_sectors 0 cached_sectors 0 stripe 67108864 stripe_redundancy 0 io_time[READ] 1 io_time[WRITE] 1 fragmentation 0 bp_start 8 invalid data type (got 2 should be 7): delete?, fixing bcachefs (loop0): accounting_read... done bcachefs (loop0): alloc_read... done bcachefs (loop0): stripes_read... done bcachefs (loop0): snapshots_read... done bcachefs (loop0): check_allocations... btree ptr not marked in member info btree allocated bitmap u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 75277f57b0c8c24 written 32 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing btree ptr not marked in member info btree allocated bitmap u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 19bc58a6c09b6540 written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing btree ptr not marked in member info btree allocated bitmap u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c18f4a4face03c6 written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing btree ptr not marked in member info btree allocated bitmap u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7675f41d391e5d36 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing btree ptr not marked in member info btree allocated bitmap u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq bcb9905dfb2993d5 written 16 min_key POS_MIN durability: 1 ptr: 0:32:0 gen 0, fixing btree ptr not marked in member info btree allocated bitmap u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9a831b4a3f983356 written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing bucket 0:14 gen 0 has wrong data_type: got free, should be journal, fixing bucket 0:14 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing done bcachefs (loop0): going read-write bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean bcachefs (loop0): done starting filesystem bcachefs (loop0): dirent to missing inode: u64s 7 type dirent 4096:8276054212886994144:U32_MAX len 0 ver 0: file1 -> 1073741824 type reg netlink: 32 bytes leftover after parsing attributes in process `syz.0.0'. bcachefs (loop0): dirent to missing inode: u64s 7 type dirent 4096:8276054212886994144:U32_MAX len 0 ver 0: file1 -> 1073741824 type reg ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5109 at fs/bcachefs/error.c:242 __bch2_fsck_err+0x131c/0x1500 fs/bcachefs/error.c:242 Modules linked in: CPU: 0 UID: 0 PID: 5109 Comm: syz.0.0 Not tainted 6.11.0-syzkaller-11624-ge477dba5442c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__bch2_fsck_err+0x131c/0x1500 fs/bcachefs/error.c:242 Code: f9 ff ff e8 c6 aa d1 f5 41 bc 5d f7 ff ff 45 31 f6 e9 7a fa ff ff e8 b3 aa d1 f5 90 0f 0b 90 e9 42 ee ff ff e8 a5 aa d1 f5 90 <0f> 0b 90 e9 8b ee ff ff 89 f9 80 e1 07 38 c1 0f 8c c7 ed ff ff e8 RSP: 0018:ffffc9000ba66fa0 EFLAGS: 00010287 RAX: ffffffff8bc309cb RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b239000 RSI: 000000000002bf71 RDI: 000000000002bf72 RBP: ffffc9000ba67150 R08: ffffc9000ba66ee7 R09: 1ffff9200174cddc R10: dffffc0000000000 R11: fffff5200174cddd R12: 000000000000008f R13: dffffc0000000000 R14: 000000000000008f R15: 0000000000000001 FS: 00007ff255dc26c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff255078d20 CR3: 000000003df8a000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bch2_bkey_fsck_err+0x1a2/0x230 fs/bcachefs/error.c:436 extent_ptr_validate fs/bcachefs/extents.c:1150 [inline] bch2_bkey_ptrs_validate+0x1a68/0x1d20 fs/bcachefs/extents.c:1197 __bch2_trans_commit+0x8ff/0x9130 fs/bcachefs/btree_trans_commit.c:1028 bch2_trans_commit fs/bcachefs/btree_update.h:184 [inline] __bch2_resume_logged_op_finsert+0x1867/0x3370 fs/bcachefs/io_misc.c:450 bch2_fcollapse_finsert+0x247/0x340 fs/bcachefs/io_misc.c:511 bchfs_fcollapse_finsert+0x3a8/0x630 fs/bcachefs/fs-io.c:565 bch2_fallocate_dispatch+0x3c9/0x540 vfs_fallocate+0x569/0x6e0 fs/open.c:333 ksys_fallocate fs/open.c:356 [inline] __do_sys_fallocate fs/open.c:364 [inline] __se_sys_fallocate fs/open.c:362 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:362 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff254f7dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff255dc2038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007ff255135f80 RCX: 00007ff254f7dff9 RDX: 0000000000002000 RSI: 0000000000000020 RDI: 000000000000000a RBP: 00007ff254ff0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff255135f80 R15: 00007fffe33416f8