diff options
author | 2008-01-14 15:12:01 -0500 | |
---|---|---|
committer | 2008-01-30 02:06:09 -0500 | |
commit | 67d60213627ec4391cc402bf95753eefde8522af (patch) | |
tree | 609efe0d90a01b3ab1b6cedc629b2626c29772b9 /net/sunrpc | |
parent | SUNRPC: Use appropriate argument types in rpcb client (diff) | |
download | linux-67d60213627ec4391cc402bf95753eefde8522af.tar.gz linux-67d60213627ec4391cc402bf95753eefde8522af.tar.bz2 linux-67d60213627ec4391cc402bf95753eefde8522af.zip |
SUNRPC: Clean up block comment preceding rpcb_getport_sync()
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index 77af989ecc9c..8cbdc0a2de46 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c @@ -200,10 +200,13 @@ int rpcb_register(u32 prog, u32 vers, int prot, unsigned short port, int *okay) * @vers: RPC version number to bind * @prot: transport protocol to use to make this request * + * Return value is the requested advertised port number, + * or a negative errno value. + * * Called from outside the RPC client in a synchronous task context. * Uses default timeout parameters specified by underlying transport. * - * XXX: Needs to support IPv6, and rpcbind versions 3 and 4 + * XXX: Needs to support IPv6 */ int rpcb_getport_sync(struct sockaddr_in *sin, u32 prog, u32 vers, int prot) { |