diff options
author | Chuck Lever <cel@netapp.com> | 2005-08-25 19:25:49 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-09-23 12:38:35 -0400 |
commit | 43118c29dea2b23798bd42a147015cceee7fa885 (patch) | |
tree | 4951a6777a3dc167d46c1373c02d21912b250e96 /net/sunrpc/xprt.c | |
parent | 808012fbb23a52ec59352445d2076d175ad4ab26 (diff) |
[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>
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r-- | net/sunrpc/xprt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index 31ef7dc7eed6..43fef7626442 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c | |||
@@ -630,8 +630,7 @@ void xprt_transmit(struct rpc_task *task) | |||
630 | case -ENOTCONN: | 630 | case -ENOTCONN: |
631 | return; | 631 | return; |
632 | default: | 632 | default: |
633 | if (xprt->stream) | 633 | break; |
634 | xprt_disconnect(xprt); | ||
635 | } | 634 | } |
636 | xprt_release_write(xprt, task); | 635 | xprt_release_write(xprt, task); |
637 | return; | 636 | return; |