[PATCHSET v2 1/2] xfs: LLM-inspired bug fixes, part 3
"Darrick J. Wong" <[email protected]>
| Newsgroups | org.kernel.vger.linux-xfs,org.kernel.vger.stable |
|---|---|
| Message-ID | <178460419060.830618.6327864598367400225.stgit@frogsfrogsfrogs> |
Hi all, Here's a third batch of xfs fixes resulting from a LLaMma. Mwa mwa mwa... v2: apply rvb tags, split out unlinked inode list repair fixes If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. With a bit of luck, this should all go splendidly. Comments and questions are, as always, welcome. --D kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=llm-fixes-3 --- Commits in this patchset: * xfs: check cowextsize in xrep_inode_cowextsize * xfs: fix transaction block reservation in xrep_rtbitmap * xfs: rtsummary scrub should treat rtbitmap corruption errors as an xref error * xfs: zero i_nlink before repair puts inode on unlinked list * xfs: mark nonzero sb_gquotino as corrupt on metadir filesystems --- fs/xfs/scrub/agheader.c | 2 +- fs/xfs/scrub/inode_repair.c | 2 +- fs/xfs/scrub/nlinks_repair.c | 7 +++++- fs/xfs/scrub/rtbitmap_repair.c | 46 ++++++++++++++++++++++++---------------- fs/xfs/scrub/rtsummary.c | 2 +- 5 files changed, 37 insertions(+), 22 deletions(-)