summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2017-04-11 19:22:38 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-04-25 22:12:16 +0200
commite2a4f4fbefc5e5b7b4435f73711b7be94f780584 (patch)
tree61b2d41ea5f829086e2cc02a7ece4998fbc57069 /net
parentxprtrdma: Cancel refresh worker during buffer shutdown (diff)
downloadlinux-e2a4f4fbefc5e5b7b4435f73711b7be94f780584.tar.xz
linux-e2a4f4fbefc5e5b7b4435f73711b7be94f780584.zip
sunrpc: Export xprt_force_disconnect()
xprt_force_disconnect() is already invoked from the socket transport. I want to invoke xprt_force_disconnect() from the RPC-over-RDMA transport, which is a separate module from sunrpc.ko. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/xprt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index b530a2852ba8..3e63c5e97ebe 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -651,6 +651,7 @@ void xprt_force_disconnect(struct rpc_xprt *xprt)
xprt_wake_pending_tasks(xprt, -EAGAIN);
spin_unlock_bh(&xprt->transport_lock);
}
+EXPORT_SYMBOL_GPL(xprt_force_disconnect);
/**
* xprt_conditional_disconnect - force a transport to disconnect