/* xprt_wake_pending_tasks - wake all tasks on a transport's pending queue @xprt: transport with waiting tasks @status: result code to plant in each task before waking it  */
void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status)
/* xprt_wake_pending_tasks - wake all tasks on a transport's pending queue @xprt: transport with waiting tasks @status: result code to plant in each task before waking it  */
void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status)
{
	if (status < 0)
		rpc_wake_up_status(&xprt->pending, status);
	else
		rpc_wake_up(&xprt->pending);
}