提交 67d60213 编写于 作者: C Chuck Lever 提交者: Trond Myklebust

SUNRPC: Clean up block comment preceding rpcb_getport_sync()

Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 f1ec08cb
...@@ -200,10 +200,13 @@ int rpcb_register(u32 prog, u32 vers, int prot, unsigned short port, int *okay) ...@@ -200,10 +200,13 @@ int rpcb_register(u32 prog, u32 vers, int prot, unsigned short port, int *okay)
* @vers: RPC version number to bind * @vers: RPC version number to bind
* @prot: transport protocol to use to make this request * @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. * Called from outside the RPC client in a synchronous task context.
* Uses default timeout parameters specified by underlying transport. * 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) int rpcb_getport_sync(struct sockaddr_in *sin, u32 prog, u32 vers, int prot)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册