/* Can be called in a soft IRQ context, so xprt_write_space never sleeps.  */
void xprt_write_space(struct rpc_xprt *xprt)
/* Can be called in a soft IRQ context, so xprt_write_space never sleeps.  */
void xprt_write_space(struct rpc_xprt *xprt)
{
	if (unlikely(xprt->shutdown))
		return;
	spin_lock_bh(&xprt->transport_lock);
	if (xprt->snd_task) {
		dprintk("RPC:       write space: waking waiting task on "
				"xprt %p\n", xprt);
		rpc_wake_up_queued_task(&xprt->pending, xprt->snd_task);
	}
	spin_unlock_bh(&xprt->transport_lock);
}