summaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-08-28 09:23:00 -0400
committerChuck Lever <chuck.lever@oracle.com>2023-08-29 17:44:12 -0400
commitf16ff1cafbf1e65cc706af912df90bcc15d39a6c (patch)
treeb025c623a100760af0e90508ec51ac14f987df5d /fs/locks.c
parent2dde18cd1d8fac735875f2e4987f11817cc0bc2c (diff)
downloadlinux-f16ff1cafbf1e65cc706af912df90bcc15d39a6c.tar.gz
linux-f16ff1cafbf1e65cc706af912df90bcc15d39a6c.tar.bz2
linux-f16ff1cafbf1e65cc706af912df90bcc15d39a6c.zip
SUNRPC: Fix the recent bv_offset fix
Jeff confirmed his original fix addressed his pynfs test failure, but this same bug also impacted qemu: accessing qcow2 virtual disks using direct I/O was failing. Jeff's fix missed that you have to shorten the bio_vec element by the same amount as you increased the page offset. Reported-by: Maxim Levitsky <mlevitsk@redhat.com> Fixes: c96e2a695e00 ("sunrpc: set the bv_offset of first bvec in svc_tcp_sendmsg") Tested-by: Maxim Levitsky <mlevitsk@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions