Merge tag 'scrub-livelock-prevention-6.8_2023-12-06' of https://git.kernel.org/pub...
authorChandan Babu R <chandanbabu@kernel.org>
Thu, 7 Dec 2023 08:45:26 +0000 (14:15 +0530)
committerChandan Babu R <chandanbabu@kernel.org>
Thu, 7 Dec 2023 08:45:26 +0000 (14:15 +0530)
xfs: prevent livelocks in xchk_iget

Prevent scrub from live locking in xchk_iget if there's a cycle in the
inobt by allocating an empty transaction.

This has been lightly tested with fstests.  Enjoy!

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
* tag 'scrub-livelock-prevention-6.8_2023-12-06' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux:
  xfs: make xchk_iget safer in the presence of corrupt inode btrees


Trivial merge