diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-04-07 23:48:24 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-05-19 19:25:38 +0300 |
commit | 91e23b1c39820bfed642119ff6b6ef9f43cf09ce (patch) | |
tree | 319ff0c63cde72c62c7ebe7dc80cde0439b68ae3 /lib/memory-notifier-error-inject.c | |
parent | 42226c989789d8da4af1de0c31070c96726d990c (diff) | |
download | linux-91e23b1c39820bfed642119ff6b6ef9f43cf09ce.tar.xz |
NFSD: Clean up nfsd_splice_actor()
nfsd_splice_actor() checks that the page being spliced does not
match the previous element in the svc_rqst::rq_pages array. We
believe this is to prevent a double put_page() in cases where the
READ payload is partially contained in the xdr_buf's head buffer.
However, the NFSD READ proc functions no longer place any part of
the READ payload in the head buffer, in order to properly support
NFS/RDMA READ with Write chunks. Therefore, simplify the logic in
nfsd_splice_actor() to remove this unnecessary check.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions