[PATCH] RPC: get rid of xprt->stream
Now we can fix up the last few places that use the "xprt->stream" variable, and get rid of it from the rpc_xprt structure. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
committed by
Trond Myklebust
parent
808012fbb2
commit
43118c29de
@@ -630,8 +630,7 @@ void xprt_transmit(struct rpc_task *task)
|
||||
case -ENOTCONN:
|
||||
return;
|
||||
default:
|
||||
if (xprt->stream)
|
||||
xprt_disconnect(xprt);
|
||||
break;
|
||||
}
|
||||
xprt_release_write(xprt, task);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user