[PATCHSET v30.5 07/10] xfs_repair: minor fixes

Darrick J. Wong
2024-06-03T18:50:29Z

Hi all,

Fix some random minor problems in xfs_repair.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

This has been running on the djcloud for months with no problems. Enjoy!
Comments and questions are, as always, welcome.

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=repair-fixes-6.9
---
Commits in this patchset:
* xfs_repair: log when buffers fail CRC checks even if we just recompute it
* xfs_repair: check num before bplist[num]
---
repair/attr_repair.c | 15 ++++++++++++---
repair/da_util.c | 12 ++++++++----
repair/dir2.c | 28 +++++++++++++++++++++-------
repair/prefetch.c | 2 +-
4 files changed, 42 insertions(+), 15 deletions(-)