]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: fix remote xattr valuelblk check
authorDarrick J. Wong <djwong@kernel.org>
Fri, 23 Jan 2026 17:27:33 +0000 (09:27 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 23 Jan 2026 17:27:33 +0000 (09:27 -0800)
commitbd3138e8912c9db182eac5fed1337645a98b7a4f
tree9f0bd95b0d209c91057c461dc02d3f1a8c610f09
parent6fed8270448c246e706921c177e9633013dd3fcf
xfs: fix remote xattr valuelblk check

In debugging other problems with generic/753, it turns out that it's
possible for the system go to down in the middle of a remote xattr set
operation such that the leaf block entry is marked incomplete and
valueblk is set to zero.  Make this no longer a failure.

Cc: <stable@vger.kernel.org> # v4.15
Fixes: 13791d3b833428 ("xfs: scrub extended attribute leaf space")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/attr.c