Project

General

Profile

Actions

Bug #6089

closed

The comment for svc_callout_find() should be improved

Added by Marcel Telka almost 7 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
nfs - NFS server and client
Start date:
2015-07-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

usr/src/uts/common/rpc/svc.c:

@@ -1045,12 +1045,12 @@
  * Find a dispatch routine for a given prog/vers pair.
  * This function is called from svc_getreq() to search the callout
  * table for an entry with a matching RPC program number `prog'
  * and a version range that covers `vers'.
  * - if it finds a matching entry it returns pointer to the dispatch routine
- * - otherwise it returns NULL and, if `minp' or `maxp' are not NULL,
- *   fills them with, respectively, lowest version and highest version
+ * - otherwise it returns NULL and fills both vers_min and vers_max
+ *   with, respectively, lowest version and highest version
  *   supported for the program `prog'
  */
 static SVC_DISPATCH *
 svc_callout_find(SVCXPRT *xprt, rpcprog_t prog, rpcvers_t vers,
     rpcvers_t *vers_min, rpcvers_t *vers_max)
Actions

Also available in: Atom PDF