From: Chuck Lever Date: Mon, 14 Jan 2008 20:12:01 +0000 (-0500) Subject: SUNRPC: Clean up block comment preceding rpcb_getport_sync() X-Git-Tag: v2.6.25-rc1~1146^2~11 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=67d60213627ec4391cc402bf95753eefde8522af;p=linux-2.6-omap-h63xx.git SUNRPC: Clean up block comment preceding rpcb_getport_sync() Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index 77af989ecc9..8cbdc0a2de4 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) {