summary refs log tree commit diff
path: root/fs
diff options
context:
space:
mode:
authorTrond Myklebust <trondmy@gmail.com>2019-06-24 19:15:44 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-06-28 11:17:47 -0400
commit7e3d3620974b743b91b1f9d0660061b1de20174c (patch)
tree5aeb08a887ba0c77314a67f6d5f65e713d6f485c /fs
parent19d55046cd824baab53534ba7e7f99945c6fdcb1 (diff)
downloadlinux-7e3d3620974b743b91b1f9d0660061b1de20174c.tar.gz
SUNRPC: Fix up calculation of client message length
In the case where a record marker was used, xs_sendpages() needs
to return the length of the payload + record marker so that we
operate correctly in the case of a partial transmission.
When the callers check return value, they therefore need to
take into account the record marker length.

Fixes: 06b5fc3ad94e ("Merge tag 'nfs-rdma-for-5.1-1'...")
Cc: stable@vger.kernel.org # 5.1+
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions