OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-277-g77ebaaf

Gerrit Code Review
Wed, 16 Jun 2010 06:13:39 -0700 (PDT)

The following commit has been merged in the master branch:
commit b1a50290e6e43f2eef323cfaffdfa3fc54bfdf5c
Author: Chaz Chandler <>
Date:   Mon Jun 14 00:21:50 2010 -0400

    IRIX: Implement makesname()
    makesname() make a semaphore name for use in <sys/sema.h>-type routines on
    IRIX.  It takes as input a pointer to an allocated string buffer (sname) of
    size METER_NAMSZ, a string prefix (prefix), and a vnode number (v_number).
    When complete, sname is returned, pointing to the beginning of a
    NULL-terminated string containing the new name, with a maximum of
    (METER_NAMSZ-1) characters plus the NULL.  The name is a concatenation of
    the string at 'prefix' and the ASCII representation of the number in
    Note: Due to IRIX's use of uint64 to represent vnumber_t and a maximum
    semaphore name length of 15 (METER_NAMSZ-1), this function cannot be
    guaranteed to produce a name which uniquely describes a vnode.
    makesname() is already called from afs_vcache.c but not (or no longer)
    available / implemented elsewhere.
    Change-Id: I4331c161b68b39a4c067691c97363b637d13ff15
    Change-Id: Ia0a615426dc05e01a98e53e89ec3bae3726cac34
    Reviewed-by: Chaz Chandler <>
    Tested-by: Chaz Chandler <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Derrick Brashear <>

 src/afs/IRIX/osi_misc.c |   57 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 57 insertions(+), 0 deletions(-)

OpenAFS Master Repository