summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2017-04-11 13:22:38 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-04-25 16:12:16 -0400
commite2a4f4fbefc5e5b7b4435f73711b7be94f780584 (patch)
tree61b2d41ea5f829086e2cc02a7ece4998fbc57069
parent9378b274e1eb6925db315e345f48850d2d5d9789 (diff)
downloadop-kernel-dev-e2a4f4fbefc5e5b7b4435f73711b7be94f780584.zip
op-kernel-dev-e2a4f4fbefc5e5b7b4435f73711b7be94f780584.tar.gz
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>
-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 b530a28..3e63c5e 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
OpenPOWER on IntegriCloud