sunrpc: server back channel needs no rpcbind method
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 24 Sep 2012 19:53:29 +0000 (15:53 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 15 May 2013 13:27:02 +0000 (09:27 -0400)
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>
net/sunrpc/xprtsock.c

index ffd50348a509e392fa2255f17f35a9291239e91c..5d6b0daf743d5ecff5572a9ac0a44a5b5e2a6c18 100644 (file)
@@ -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,