]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: check xfarray iteration errors when committing unlinked inode lists
authorDarrick J. Wong <djwong@kernel.org>
Mon, 27 Jul 2026 05:25:50 +0000 (22:25 -0700)
committerCarlos Maiolino <cem@kernel.org>
Mon, 3 Aug 2026 08:20:43 +0000 (10:20 +0200)
commit2daf3ed5d059dec79c123aec42eb8d28e0c016d4
tree132b50ddab017a741a06d2dd52741aa84667a512
parent5644fab990fc72406dddc91cbb8304659d77f3f1
xfs: check xfarray iteration errors when committing unlinked inode lists

LOLLM noticed that we neglect to check for xfarray_iter itself returning
errors when writing a new AGI.  Fix that.

Cc: stable@vger.kernel.org # v6.10
Fixes: ab97f4b1c03075 ("xfs: repair AGI unlinked inode bucket lists")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Assisted-by: LOLLM # finding obvious bugs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/scrub/agheader_repair.c