diff options
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r-- | net/sunrpc/xprt.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index 215be0d0ef6b..1ba55dc38b7a 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c | |||
@@ -709,6 +709,14 @@ out_unlock: | |||
709 | return err; | 709 | return err; |
710 | } | 710 | } |
711 | 711 | ||
712 | void | ||
713 | xprt_abort_transmit(struct rpc_task *task) | ||
714 | { | ||
715 | struct rpc_xprt *xprt = task->tk_xprt; | ||
716 | |||
717 | xprt_release_write(xprt, task); | ||
718 | } | ||
719 | |||
712 | /** | 720 | /** |
713 | * xprt_transmit - send an RPC request on a transport | 721 | * xprt_transmit - send an RPC request on a transport |
714 | * @task: controlling RPC task | 722 | * @task: controlling RPC task |