NFSD: Fix reads with a non-zero offset that don't end on a page boundary
[ Upstream commit ac8db824 ] This was found when virtual machines with nfs-mounted qcow2 disks failed to boot properly. Reported-by:Anders Blomdell <anders.blomdell@control.lth.se> Suggested-by:
Al Viro <viro@zeniv.linux.org.uk> Link: https://bugzilla.redhat.com/show_bug.cgi?id=2142132 Fixes: bfbfb618 ("nfsd_splice_actor(): handle compound pages") [ cel: "‘for’ loop initial declarations are only allowed in C99 or C11 mode" ] Signed-off-by:
Chuck Lever <chuck.lever@oracle.com> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading