diff options
author | 2022-09-23 09:06:11 -0400 | |
---|---|---|
committer | 2022-10-05 15:47:16 -0400 | |
commit | 3b50cc1c7f2170f2eb0fec040b6c3a8574026fce (patch) | |
tree | f80ec30c77c1865e2cdfb0e5bd46b1210694202c /net/sunrpc/xprtrdma/xprt_rdma.h | |
parent | svcrdma: Clean up RPCRDMA_DEF_GFP (diff) | |
download | linux-3b50cc1c7f2170f2eb0fec040b6c3a8574026fce.tar.gz linux-3b50cc1c7f2170f2eb0fec040b6c3a8574026fce.tar.bz2 linux-3b50cc1c7f2170f2eb0fec040b6c3a8574026fce.zip |
xprtrdma: Clean up synopsis of rpcrdma_req_create()
Commit 1769e6a816df ("xprtrdma: Clean up rpcrdma_create_req()")
added rpcrdma_req_create() with a GFP flags argument in case a
caller might want to avoid waiting for memory.
There has never been a caller that does not pass GFP_KERNEL as
the third argument. That argument can therefore be eliminated.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/xprt_rdma.h')
-rw-r--r-- | net/sunrpc/xprtrdma/xprt_rdma.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h index 84b685c45555..227dce50cc4b 100644 --- a/net/sunrpc/xprtrdma/xprt_rdma.h +++ b/net/sunrpc/xprtrdma/xprt_rdma.h @@ -465,8 +465,8 @@ void rpcrdma_post_recvs(struct rpcrdma_xprt *r_xprt, int needed, bool temp); /* * Buffer calls - xprtrdma/verbs.c */ -struct rpcrdma_req *rpcrdma_req_create(struct rpcrdma_xprt *r_xprt, size_t size, - gfp_t flags); +struct rpcrdma_req *rpcrdma_req_create(struct rpcrdma_xprt *r_xprt, + size_t size); int rpcrdma_req_setup(struct rpcrdma_xprt *r_xprt, struct rpcrdma_req *req); void rpcrdma_req_destroy(struct rpcrdma_req *req); int rpcrdma_buffer_create(struct rpcrdma_xprt *); |