[PATCHSET 2/2] xfs: LLM-inspired bug fixes, part 2
"Darrick J. Wong" <[email protected]>
| Newsgroups | org.kernel.vger.linux-xfs,org.kernel.vger.stable |
|---|---|
| Message-ID | <178400716782.268162.4846177784022689546.stgit@frogsfrogsfrogs> |
Hi all, Here's a second 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-2 --- Commits in this patchset: * xfs: set xfarray killable sort correctly * xfs: fix off-by-one error when calling xchk_xref_has_rt_owner * xfs: handle non-inode owners for rtrmap record checking * xfs: fully check the parent handle when it points to the rootdir * xfs: clamp timestamp nanoseconds correctly * xfs: don't zap bmbt forks if they are MAXLEVELS tall --- fs/xfs/scrub/scrub.h | 6 +++--- fs/xfs/scrub/dirtree.c | 16 ++++++++-------- fs/xfs/scrub/inode_repair.c | 4 ++-- fs/xfs/scrub/rtbitmap.c | 2 +- fs/xfs/scrub/rtrmap.c | 6 ++++++ fs/xfs/scrub/xfarray.c | 3 +-- 6 files changed, 21 insertions(+), 16 deletions(-)