]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: Fix reads with a non-zero offset that don't end on a page boundary
authorChuck Lever <chuck.lever@oracle.com>
Wed, 23 Nov 2022 19:14:32 +0000 (14:14 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 23 Nov 2022 19:32:35 +0000 (14:32 -0500)
commitd02093246a394aee45af7649aeb16a21abb12a8b
tree9388f982351e767b00da6d1014029883b27a154f
parentbb9d0625870dca1ed708de53de9ac02f72264549
NFSD: Fix reads with a non-zero offset that don't end on a page boundary

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: 31e1fa2fe624 ("nfsd_splice_actor(): handle compound pages")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/vfs.c