summaryrefslogtreecommitdiff
path: root/include/linux/sunrpc/svc.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-06-10 10:36:42 -0400
committerChuck Lever <chuck.lever@oracle.com>2020-11-30 13:00:21 -0500
commit03493bca084fdca48abc59b00e06ce733aa9eb7d (patch)
treed73c5bde0dd57d60f715bacc5498f7fcd5eac07c /include/linux/sunrpc/svc.h
parentab1394ee7a110190c2ea38e1f1b72737daa10f20 (diff)
downloadlwn-03493bca084fdca48abc59b00e06ce733aa9eb7d.tar.gz
lwn-03493bca084fdca48abc59b00e06ce733aa9eb7d.zip
SUNRPC: Rename svc_encode_read_payload()
Clean up: "result payload" is a less confusing name for these payloads. "READ payload" reflects only the NFS usage. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/linux/sunrpc/svc.h')
-rw-r--r--include/linux/sunrpc/svc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
index 386628b36bc7..c220b734fa69 100644
--- a/include/linux/sunrpc/svc.h
+++ b/include/linux/sunrpc/svc.h
@@ -519,9 +519,9 @@ void svc_wake_up(struct svc_serv *);
void svc_reserve(struct svc_rqst *rqstp, int space);
struct svc_pool * svc_pool_for_cpu(struct svc_serv *serv, int cpu);
char * svc_print_addr(struct svc_rqst *, char *, size_t);
-int svc_encode_read_payload(struct svc_rqst *rqstp,
- unsigned int offset,
- unsigned int length);
+int svc_encode_result_payload(struct svc_rqst *rqstp,
+ unsigned int offset,
+ unsigned int length);
unsigned int svc_fill_write_vector(struct svc_rqst *rqstp,
struct page **pages,
struct kvec *first, size_t total);