syzbot suspects this issue was fixed by commit: commit df9f278239046719c91aeb59ec0afb1a99ee8b2b Author: Filipe Manana <fdmanana@xxxxxxxx> Date: Tue Jun 13 15:42:16 2023 +0000 btrfs: do not BUG_ON on failure to get dir index for new snapshot bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1584c385680000 start commit: 0136d86b7852 Merge tag 'block-6.2-2023-02-03' of git://git.. git tree: upstream kernel config: https://syzkaller.appspot.com/x/.config?x=5ea620bd01d9130d dashboard link: https://syzkaller.appspot.com/bug?extid=d56e0d33caf7d1a02821 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14657573480000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16dd145d480000 If the result looks correct, please mark the issue as fixed by replying with: #syz fix: btrfs: do not BUG_ON on failure to get dir index for new snapshot For information about bisection process see: https://goo.gl/tpsmEJ#bisection