]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: also mark the buffer stale on verifier failure in xfs_buf_submit
authorChristoph Hellwig <hch@lst.de>
Thu, 25 Jun 2026 13:58:32 +0000 (15:58 +0200)
committerCarlos Maiolino <cem@kernel.org>
Wed, 1 Jul 2026 09:25:36 +0000 (11:25 +0200)
commit0b434b552ecd19f33e2f85ea8e55dbb65352810d
treebcb3aeb6496798caa792ecf5ebf777926926cb76
parent6769087fd856889a32caf09590703813e3763575
xfs: also mark the buffer stale on verifier failure in xfs_buf_submit

We should treat the buffer that caused a shutdown the same as handling
buffers after a shutdown, so use the same stale && !DONE logic here.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_buf.c