diff options
author | J. Bruce Fields <bfields@redhat.com> | 2012-09-24 15:53:29 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-05-15 09:27:02 -0400 |
commit | 2fccbd9cc0fdca649b01f1e2d96e5ef85256341a (patch) | |
tree | 49e5e509ca5f9a1b1c1bb63be1420671b6f82be3 /net | |
parent | 18032ca062e621e15683cb61c066ef3dc5414a7b (diff) | |
download | linux-2fccbd9cc0fdca649b01f1e2d96e5ef85256341a.tar.gz linux-2fccbd9cc0fdca649b01f1e2d96e5ef85256341a.tar.bz2 linux-2fccbd9cc0fdca649b01f1e2d96e5ef85256341a.zip |
sunrpc: server back channel needs no rpcbind method
XPRT_BOUND is set on server backchannel xprts by xs_setup_bc_tcp()
(using xprt_set_bound()), and is never cleared, so ->rpcbind() will
never need to be called.
Reported-by: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/xprtsock.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index ffd50348a509..5d6b0daf743d 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -2534,7 +2534,6 @@ static struct rpc_xprt_ops bc_tcp_ops = { .reserve_xprt = xprt_reserve_xprt, .release_xprt = xprt_release_xprt, .alloc_slot = xprt_alloc_slot, - .rpcbind = xs_local_rpcbind, .buf_alloc = bc_malloc, .buf_free = bc_free, .send_request = bc_send_request, |