aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r--net/sunrpc/xprt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index 432ee92cf262..81fe830da8aa 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -854,7 +854,7 @@ void xprt_release(struct rpc_task *task)
854 mod_timer(&xprt->timer, 854 mod_timer(&xprt->timer,
855 xprt->last_used + xprt->idle_timeout); 855 xprt->last_used + xprt->idle_timeout);
856 spin_unlock_bh(&xprt->transport_lock); 856 spin_unlock_bh(&xprt->transport_lock);
857 xprt->ops->buf_free(task); 857 xprt->ops->buf_free(req->rq_buffer);
858 task->tk_rqstp = NULL; 858 task->tk_rqstp = NULL;
859 if (req->rq_release_snd_buf) 859 if (req->rq_release_snd_buf)
860 req->rq_release_snd_buf(req); 860 req->rq_release_snd_buf(req);