diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-03-25 13:34:27 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-03-25 13:34:27 -0400 |
commit | b2a9b572a85640e93667368cbf0539a236ff592a (patch) | |
tree | dd6ae5e79bead23596f870aaf54763f2408153e0 | |
parent | df8cecedcdcb77978fc0f7fa932d8db1d3228f74 (diff) | |
download | ti-rpc-b2a9b572a85640e93667368cbf0539a236ff592a.tar.gz |
Add a note about rpcbind's use of __svc_clean_idle()
__svc_clean_idle() is an internal function that is also called by
the version of rpcbind we are currently using. Make a note of this
so that the function does not get accidentally removed or changed.
We should keep an eye out for other APIs like this, and document
them accordingly.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | src/svc_vc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/svc_vc.c b/src/svc_vc.c index 8e39597..aaaf2d7 100644 --- a/src/svc_vc.c +++ b/src/svc_vc.c @@ -748,6 +748,10 @@ __rpc_get_local_uid(SVCXPRT *transp, uid_t *uid) { * Destroy xprts that have not have had any activity in 'timeout' seconds. * If 'cleanblock' is true, blocking connections (the default) are also * cleaned. If timeout is 0, the least active connection is picked. + * + * Though this is not a publicly documented interface, some versions of + * rpcbind are known to call this function. Do not alter or remove this + * API without changing the library's sonum. */ bool_t __svc_clean_idle(fd_set *fds, int timeout, bool_t cleanblock) |