aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sunrpc/svc_xprt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c
index 8f0f1fb3dc5..c334f5413c6 100644
--- a/net/sunrpc/svc_xprt.c
+++ b/net/sunrpc/svc_xprt.c
@@ -892,12 +892,12 @@ void svc_delete_xprt(struct svc_xprt *xprt)
892 */ 892 */
893 if (test_bit(XPT_TEMP, &xprt->xpt_flags)) 893 if (test_bit(XPT_TEMP, &xprt->xpt_flags))
894 serv->sv_tmpcnt--; 894 serv->sv_tmpcnt--;
895 spin_unlock_bh(&serv->sv_lock);
895 896
896 while ((dr = svc_deferred_dequeue(xprt)) != NULL) 897 while ((dr = svc_deferred_dequeue(xprt)) != NULL)
897 kfree(dr); 898 kfree(dr);
898 899
899 svc_xprt_put(xprt); 900 svc_xprt_put(xprt);
900 spin_unlock_bh(&serv->sv_lock);
901} 901}
902 902
903void svc_close_xprt(struct svc_xprt *xprt) 903void svc_close_xprt(struct svc_xprt *xprt)