diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/svc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 2c1c4aa93f43..a8861a80bc04 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -1727,10 +1727,10 @@ EXPORT_SYMBOL_GPL(svc_encode_result_payload); * Fills in rqstp::rq_vec, and returns the number of elements. */ unsigned int svc_fill_write_vector(struct svc_rqst *rqstp, - struct xdr_buf *payload) + const struct xdr_buf *payload) { + const struct kvec *first = payload->head; struct page **pages = payload->pages; - struct kvec *first = payload->head; struct kvec *vec = rqstp->rq_vec; size_t total = payload->len; unsigned int i; |