summaryrefslogtreecommitdiff
path: root/scripts/subarch.include
diff options
context:
space:
mode:
authorDaejun Park <daejun7.park@samsung.com>2026-10-29 11:23:01 +0900
committerCarlos Maiolino <cem@kernel.org>2026-11-03 15:14:20 +0100
commitd8c2bc88460f89e543ab3af622fc8f34c7011d71 (patch)
tree3c73fb3d4ec2b4d2fc0178b8354da0f739b1fb50 /scripts/subarch.include
parentbcf0b7f18ad11e1d410e82ffef678705eff0a317 (diff)
xfs: clamp a pNFS LAYOUTCOMMIT extent before computing its end
xfs_fs_commit_blocks() adds the client's length to the offset before it clamps the end to the file size. A large length wraps the sum and reaches xfs_iomap_write_unwritten() unclamped. With the previous two patches the LAYOUTCOMMIT then fails with -EIO and converts nothing. Clamp the length first. Fixes: 527851124d10 ("xfs: implement pNFS export operations") Cc: stable@vger.kernel.org Signed-off-by: Daejun Park <daejun7.park@samsung.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Pankaj Raghav <p.raghav@samsung.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/subarch.include')
0 files changed, 0 insertions, 0 deletions