diff options
| author | Chuck Lever <[email protected]> | 2023-06-12 10:10:07 -0400 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2023-06-12 12:16:36 -0400 |
| commit | a944209c11aff9a5c9b7987fc958cc2344dca51f (patch) | |
| tree | ecc593f9a130cdae75cad400a06c490ed3e35491 /include/linux | |
| parent | 6be7afcd92cd426428b94dd7e258b2472a45cde7 (diff) | |
SUNRPC: Revert 579900670ac7 ("svcrdma: Remove unused sc_pages field")
Pre-requisite for releasing pages in the send completion handler.
Reverted by hand: patch -R would not apply cleanly.
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sunrpc/svc_rdma.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc_rdma.h b/include/linux/sunrpc/svc_rdma.h index a0f3ea357977..8e654da55170 100644 --- a/include/linux/sunrpc/svc_rdma.h +++ b/include/linux/sunrpc/svc_rdma.h @@ -158,8 +158,9 @@ struct svc_rdma_send_ctxt { struct xdr_buf sc_hdrbuf; struct xdr_stream sc_stream; void *sc_xprt_buf; + int sc_page_count; int sc_cur_sge_no; - + struct page *sc_pages[RPCSVC_MAXPAGES]; struct ib_sge sc_sges[]; }; |