Hello, syzbot has tested the proposed patch and the reproducer did not trigger any issue: Reported-by: syzbot+4125a3c514e3436a02e6@xxxxxxxxxxxxxxxxxxxxxxxxx Tested-by: syzbot+4125a3c514e3436a02e6@xxxxxxxxxxxxxxxxxxxxxxxxx Tested on: commit: 0338c38c xfs: fix finding a last resort AG in xfs_file.. git tree: git://git.infradead.org/users/hch/misc.git xfs-filesystems-pick-fix console output: https://syzkaller.appspot.com/x/log.txt?x=11150287980000 kernel config: https://syzkaller.appspot.com/x/.config?x=41330fd2db03893d dashboard link: https://syzkaller.appspot.com/bug?extid=4125a3c514e3436a02e6 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Note: no patches were applied. Note: testing is done by a robot and is best-effort only.