option from the mount to silence this warning.
=======================================================
JBD2: Ignoring recovery information on journal
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
(syz.0.17,5945,0):ocfs2_truncate_log_append:5875 ERROR: bug expression: tl_count > ocfs2_truncate_recs_per_inode(osb->sb) || tl_count == 0
(syz.0.17,5945,0):ocfs2_truncate_log_append:5875 ERROR: Truncate record count on #77 invalid wanted 39, actual 40
------------[ cut here ]------------
kernel BUG at fs/ocfs2/alloc.c:5875!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5945 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:ocfs2_truncate_log_append+0x92e/0x940 fs/ocfs2/alloc.c:5869
Code: 0f b7 04 24 4c 89 ef 48 c7 c6 35 36 67 8c ba f3 16 00 00 48 c7 c1 00 77 e9 8a 4d 89 f0 41 89 d9 50 e8 46 d6 1c 00 48 83 c4 08 <0f> 0b e8 1b 25 3c fe 0f 0b e8 14 25 3c fe 0f 0b 66 90 55 41 57 41
RSP: 0018:ffffc9000479ebe0 EFLAGS: 00010292
RAX: 38663073014e7b00 RBX: 0000000000000027 RCX: 38663073014e7b00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000479ed10 R08: ffffc9000479e687 R09: 1ffff920008f3cd0
R10: dffffc0000000000 R11: fffff520008f3cd1 R12: ffff88806e189ac0
R13: ffffc9000479ec80 R14: 000000000000004d R15: 1ffff1100dc31358
FS: 0000555570554500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4ab539c000 CR3: 00000000773a1000 CR4: 00000000003506e0
Call Trace:
<TASK>
ocfs2_remove_btree_range+0x102c/0x1480 fs/ocfs2/alloc.c:5790
ocfs2_commit_truncate+0xb4b/0x21a0 fs/ocfs2/alloc.c:7354
ocfs2_truncate_file+0xc86/0x13a0 fs/ocfs2/file.c:509
ocfs2_setattr+0x150d/0x1b20 fs/ocfs2/file.c:1211
notify_change+0xb0d/0xe10 fs/attr.c:499
do_truncate+0x19b/0x220 fs/open.c:66
handle_truncate fs/namei.c:3291 [inline]
do_open fs/namei.c:3636 [inline]
path_openat+0x298c/0x3190 fs/namei.c:3789
do_filp_open+0x1c5/0x3d0 fs/namei.c:3816
do_sys_openat2+0x12c/0x1c0 fs/open.c:1419
do_sys_open fs/open.c:1434 [inline]
__do_sys_openat fs/open.c:1450 [inline]
__se_sys_openat fs/open.c:1445 [inline]
__x64_sys_openat+0x139/0x160 fs/open.c:1445
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f85da98ebe9
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:00007fff742f9518 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f85dabc5fa0 RCX: 00007f85da98ebe9
RDX: 0000000000181242 RSI: 0000200000000180 RDI: ffffffffffffff9c
RBP: 00007f85daa11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000148 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f85dabc5fa0 R14: 00007f85dabc5fa0 R15: 0000000000000004
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_truncate_log_append+0x92e/0x940 fs/ocfs2/alloc.c:5869
Code: 0f b7 04 24 4c 89 ef 48 c7 c6 35 36 67 8c ba f3 16 00 00 48 c7 c1 00 77 e9 8a 4d 89 f0 41 89 d9 50 e8 46 d6 1c 00 48 83 c4 08 <0f> 0b e8 1b 25 3c fe 0f 0b e8 14 25 3c fe 0f 0b 66 90 55 41 57 41
RSP: 0018:ffffc9000479ebe0 EFLAGS: 00010292
RAX: 38663073014e7b00 RBX: 0000000000000027 RCX: 38663073014e7b00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000479ed10 R08: ffffc9000479e687 R09: 1ffff920008f3cd0
R10: dffffc0000000000 R11: fffff520008f3cd1 R12: ffff88806e189ac0
R13: ffffc9000479ec80 R14: 000000000000004d R15: 1ffff1100dc31358
FS: 0000555570554500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4ab539c000 CR3: 00000000773a1000 CR4: 00000000003506e0