]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFS/localio: Deal with page bases that are > PAGE_SIZE
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 2 Jan 2026 23:55:08 +0000 (18:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jan 2026 10:21:14 +0000 (11:21 +0100)
commitd6ea0b7394a443fb6ddd1a3619ccc2f0781a900c
treeff789b3e95707bb21a69fcdf95eb4214b405af28
parent0674f22eef471f9d1f9ae69bc63e9e14f6ad0049
NFS/localio: Deal with page bases that are > PAGE_SIZE

[ Upstream commit 60699ab7cbf0a4eb19929cce243002b39c67917d ]

When resending requests, etc, the page base can quickly grow larger than
the page size.

Fixes: 091bdcfcece0 ("nfs/localio: refactor iocb and iov_iter_bvec initialization")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/localio.c