/* xprt_disconnect_done - mark a transport as disconnected @xprt: transport to flag for disconnect  */
void xprt_disconnect_done(struct rpc_xprt *xprt)
/* xprt_disconnect_done - mark a transport as disconnected @xprt: transport to flag for disconnect  */
void xprt_disconnect_done(struct rpc_xprt *xprt)
{
	dprintk("RPC:       disconnected transport %p\n", xprt);
	spin_lock_bh(&xprt->transport_lock);
	xprt_clear_connected(xprt);
	xprt_wake_pending_tasks(xprt, -EAGAIN);
	spin_unlock_bh(&xprt->transport_lock);
}