SUNRPC: Clean up RPCBIND_MAXUADDRLEN definitions
authorChuck Lever <chuck.lever@oracle.com>
Sun, 9 Aug 2009 19:09:32 +0000 (15:09 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 9 Aug 2009 19:09:32 +0000 (15:09 -0400)
commit169026a61e6f436dfc12c9d10d95455c4e9f945b
tree086ec191697cc7f50c054d3a589028aaa2f1bdbf
parentec88f28d1eb77346f19ca324ceec76e645cdd9da
SUNRPC: Clean up RPCBIND_MAXUADDRLEN definitions

Clean up: Replace the single-integer definition of RPCBIND_MAXUADDRLEN
with a definition that is based on previously defined address string
sizes, and document the way this maximum is calculated.  Also provide
a separate macro for the size of the port number extension.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/msg_prot.h