Project

General

Profile

Actions

Bug #6089

closed

The comment for svc_callout_find() should be improved

Added by Marcel Telka over 7 years ago. Updated over 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:
External Bug:

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 #1

Updated by Marcel Telka over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Marcel Telka over 2 years ago

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

Updated by Marcel Telka over 2 years ago

  • Status changed from In Progress to Pending RTI
Actions #4

Updated by Electric Monk over 2 years 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>

Actions

Also available in: Atom PDF