[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:
Chuck Lever
2005-08-25 16:25:49 -07:00
committed by Trond Myklebust
parent 808012fbb2
commit 43118c29de
4 changed files with 21 additions and 16 deletions

View File

@@ -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;