aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/svc_rdma.h
diff options
context:
space:
mode:
authorTom Tucker <tom@opengridcomputing.com>2008-05-07 16:47:42 -0400
committerTom Tucker <tom@opengridcomputing.com>2008-05-19 08:34:01 -0400
commit008fdbc57164b0ac237ad6ee2766944f02ac9c28 (patch)
treee1637f39b6454a6ae94a00e90bd047d47bdfdf7e /include/linux/sunrpc/svc_rdma.h
parentaf261af4db14230fb35bcdc0ba9ef78ed6cf7bc1 (diff)
svcrdma: Change svc_rdma_send_error return type to void
The svc_rdma_send_error function is called when an RPCRDMA protocol error is detected. This function attempts to post an error reply message. Since an error posting to a transport in error is ignored, change the return type to void. Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Diffstat (limited to 'include/linux/sunrpc/svc_rdma.h')
-rw-r--r--include/linux/sunrpc/svc_rdma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/svc_rdma.h b/include/linux/sunrpc/svc_rdma.h
index f5f15ae2438b..05eb4664d0dd 100644
--- a/include/linux/sunrpc/svc_rdma.h
+++ b/include/linux/sunrpc/svc_rdma.h
@@ -166,8 +166,8 @@ extern int svc_rdma_sendto(struct svc_rqst *);
166 166
167/* svc_rdma_transport.c */ 167/* svc_rdma_transport.c */
168extern int svc_rdma_send(struct svcxprt_rdma *, struct ib_send_wr *); 168extern int svc_rdma_send(struct svcxprt_rdma *, struct ib_send_wr *);
169extern int svc_rdma_send_error(struct svcxprt_rdma *, struct rpcrdma_msg *, 169extern void svc_rdma_send_error(struct svcxprt_rdma *, struct rpcrdma_msg *,
170 enum rpcrdma_errcode); 170 enum rpcrdma_errcode);
171struct page *svc_rdma_get_page(void); 171struct page *svc_rdma_get_page(void);
172extern int svc_rdma_post_recv(struct svcxprt_rdma *); 172extern int svc_rdma_post_recv(struct svcxprt_rdma *);
173extern int svc_rdma_create_listen(struct svc_serv *, int, struct sockaddr *); 173extern int svc_rdma_create_listen(struct svc_serv *, int, struct sockaddr *);