SUNRPC: Clean up address type casts in rpcb_v4_register()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 19 Mar 2009 00:47:06 +0000 (20:47 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 28 Mar 2009 19:55:52 +0000 (15:55 -0400)
commit3aba45536fe8f92aa07bcdfd2fb1cf17eec7d786
tree256848234e49c3e1f8758afeb1e85ad2b005db10
parentba5c35e0c7e30b095636cd58b0854fdbd3c32947
SUNRPC: Clean up address type casts in rpcb_v4_register()

Clean up: Simplify rpcb_v4_register() and its helpers by moving the
details of sockaddr type casting to rpcb_v4_register()'s helper
functions.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c