aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc_xprt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
-rw-r--r--net/sunrpc/svc_xprt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c
index 512c10fc1a9f..783597343877 100644
--- a/net/sunrpc/svc_xprt.c
+++ b/net/sunrpc/svc_xprt.c
@@ -842,6 +842,7 @@ void svc_close_xprt(struct svc_xprt *xprt)
842 clear_bit(XPT_BUSY, &xprt->xpt_flags); 842 clear_bit(XPT_BUSY, &xprt->xpt_flags);
843 svc_xprt_put(xprt); 843 svc_xprt_put(xprt);
844} 844}
845EXPORT_SYMBOL_GPL(svc_close_xprt);
845 846
846void svc_close_all(struct list_head *xprt_list) 847void svc_close_all(struct list_head *xprt_list)
847{ 848{
@@ -1006,6 +1007,7 @@ struct svc_xprt *svc_find_xprt(struct svc_serv *serv, char *xcl_name,
1006 if (port && port != svc_xprt_local_port(xprt)) 1007 if (port && port != svc_xprt_local_port(xprt))
1007 continue; 1008 continue;
1008 found = xprt; 1009 found = xprt;
1010 svc_xprt_get(xprt);
1009 break; 1011 break;
1010 } 1012 }
1011 spin_unlock_bh(&serv->sv_lock); 1013 spin_unlock_bh(&serv->sv_lock);