Project

General

Profile

Bug #6089

The comment for svc_callout_find() should be improved

Added by Marcel Telka about 5 years ago. Updated 2 months 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)

History

#1

Updated by Marcel Telka about 5 years ago

  • Description updated (diff)
#2

Updated by Marcel Telka 3 months ago

  • Status changed from New to In Progress
  • Assignee set to Marcel Telka
#3

Updated by Marcel Telka 2 months ago

  • Status changed from In Progress to Pending RTI
#4

Updated by Electric Monk 2 months ago

  • % Done changed from 0 to 100
  • Status changed from Pending RTI to Closed

git commit 1c0fc4547783fdfd7365d5d483e2750915523d44

commit  1c0fc4547783fdfd7365d5d483e2750915523d44
Author: Marcel Telka <marcel@telka.sk>
Date:   2020-07-08T15:16:45.000Z

    6089 The comment for svc_callout_find() should be improved
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Also available in: Atom PDF