JFS: discard option not supported on device JFS: discard option not supported on device ERROR: (device loop3): txAbort: BUG at fs/jfs/jfs_txnmgr.c:939 assert(mp->nohomeok > 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:939! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1985 Comm: jfsCommit Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:txUnlock.cold+0x4a/0x72 fs/jfs/jfs_txnmgr.c:939 Code: eb cc fa ff 0f 0b e8 79 9b 69 f9 48 c7 c1 a0 16 9b 88 ba ab 03 00 00 48 c7 c6 20 16 9b 88 48 c7 c7 60 16 9b 88 e8 c5 cc fa ff <0f> 0b e8 53 9b 69 f9 48 c7 c1 e0 15 9b 88 ba a5 03 00 00 48 c7 c6 RSP: 0018:ffff8880b0a9fd58 EFLAGS: 00010282 RAX: 0000000000000037 RBX: ffffc90001602168 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1016153f9d RBP: ffff8880a8ba0a50 R08: 0000000000000037 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc90001401200 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562504adc8e0 CR3: 000000009775a000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: txLazyCommit fs/jfs/jfs_txnmgr.c:2727 [inline] jfs_lazycommit+0x66b/0x9d0 fs/jfs/jfs_txnmgr.c:2777 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Modules linked in: ---[ end trace 771adf22c0e6be9d ]--- RIP: 0010:txUnlock.cold+0x4a/0x72 fs/jfs/jfs_txnmgr.c:939 Code: eb cc fa ff 0f 0b e8 79 9b 69 f9 48 c7 c1 a0 16 9b 88 ba ab 03 00 00 48 c7 c6 20 16 9b 88 48 c7 c7 60 16 9b 88 e8 c5 cc fa ff <0f> 0b e8 53 9b 69 f9 48 c7 c1 e0 15 9b 88 ba a5 03 00 00 48 c7 c6 RSP: 0018:ffff8880b0a9fd58 EFLAGS: 00010282 RAX: 0000000000000037 RBX: ffffc90001602168 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1016153f9d RBP: ffff8880a8ba0a50 R08: 0000000000000037 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc90001401200 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f786687bd30 CR3: 00000000b481d000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400