[PATCHSET 1/2] xfs: LLM-inspired bug fixes, part 4
"Darrick J. Wong" <[email protected]> Sun, 26 Jul 2026 22:22:48 -0700
| Newsgroups | org.kernel.vger.linux-xfs,org.kernel.vger.stable |
|---|---|
| Message-ID | <178512389129.1494795.16117444961252720216.stgit@frogsfrogsfrogs> |
Hi all, Here's a fourth batch of xfs fixes resulting from a LLaMma. Mwa mwa mwa... 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-4 --- Commits in this patchset: * xfs: only check mergeability of bnobt records * xfs: don't double-lock when deleting a self-referential directory * xfs: don't return EFSCORRUPTED when scrubbing corrupt parent pointers * xfs: don't zap the attr fork on repair when there are queued pptr updates * xfs: nlink scrub must take IOLOCK before determining ILOCK state * xfs: avoid UAF on sc->tempip in xrep_tempfile_create --- fs/xfs/scrub/alloc.c | 5 +++-- fs/xfs/scrub/attr_repair.c | 3 ++- fs/xfs/scrub/dirtree_repair.c | 22 ++++++++++++++++++---- fs/xfs/scrub/nlinks.c | 13 +++++++------ fs/xfs/scrub/parent.c | 2 +- fs/xfs/scrub/tempfile.c | 1 + 6 files changed, 32 insertions(+), 14 deletions(-)