aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/backchannel_rqst.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/backchannel_rqst.c')
-rw-r--r--net/sunrpc/backchannel_rqst.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/sunrpc/backchannel_rqst.c b/net/sunrpc/backchannel_rqst.c
index 31def68a0f6e..5a3d675d2f2f 100644
--- a/net/sunrpc/backchannel_rqst.c
+++ b/net/sunrpc/backchannel_rqst.c
@@ -176,13 +176,14 @@ out_free:
176} 176}
177EXPORT_SYMBOL_GPL(xprt_setup_backchannel); 177EXPORT_SYMBOL_GPL(xprt_setup_backchannel);
178 178
179/* 179/**
180 * Destroys the backchannel preallocated structures. 180 * xprt_destroy_backchannel - Destroys the backchannel preallocated structures.
181 * @xprt: the transport holding the preallocated strucures
182 * @max_reqs the maximum number of preallocated structures to destroy
183 *
181 * Since these structures may have been allocated by multiple calls 184 * Since these structures may have been allocated by multiple calls
182 * to xprt_setup_backchannel, we only destroy up to the maximum number 185 * to xprt_setup_backchannel, we only destroy up to the maximum number
183 * of reqs specified by the caller. 186 * of reqs specified by the caller.
184 * @xprt: the transport holding the preallocated strucures
185 * @max_reqs the maximum number of preallocated structures to destroy
186 */ 187 */
187void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) 188void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs)
188{ 189{