OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_66-45-g954f67c

Gerrit Code Review gerrit@openafs.org
Wed, 11 Nov 2009 07:24:45 -0800 (PST)


The following commit has been merged in the master branch:
commit 954f67c682bdceb10c58646336ae0178ad47e317
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date:   Wed Nov 11 08:12:51 2009 +0000

    cr_gid is already used by Darwin
    
    Commit eb8e55bba7740a87e07ef07bb4b789e6d4e36f0d introduced a variety
    of functions for accessing members of the credentials structure in a
    platform independent way. Sadly, cr_gid is already defined by the
    Darwin platform headers (on Darwin, the GID is just the first of
    the user's groups)
    
    Turn cr_gid() into afs_cr_gid() to avoid this problem, and for
    consistency, also rename cr_uid, cr_ruid, cr_rgid, and the
    corresponding set_* functions.
    
    Change-Id: I82d74900324d079b5a5c8985510a2c9586c4a526
    Reviewed-on: http://gerrit.openafs.org/805
    Tested-by: Derrick Brashear <shadow@dementia.org>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/afs/DARWIN/osi_vnodeops.c   |    2 +-
 src/afs/IRIX/osi_vnodeops.c     |    2 +-
 src/afs/LINUX/osi_cred.c        |   32 ++++++++++++++++----------------
 src/afs/LINUX/osi_groups.c      |    2 +-
 src/afs/LINUX/osi_nfssrv.c      |   14 +++++++-------
 src/afs/LINUX24/osi_cred.c      |   32 ++++++++++++++++----------------
 src/afs/UKERNEL/afs_usrops.c    |   28 ++++++++++++++--------------
 src/afs/VNOPS/afs_vnop_create.c |    2 +-
 src/afs/VNOPS/afs_vnop_dirops.c |    2 +-
 src/afs/VNOPS/afs_vnop_write.c  |    2 +-
 src/afs/afs.h                   |   16 ++++++++--------
 src/afs/afs_disconnected.c      |    2 +-
 src/afs/afs_dynroot.c           |    4 ++--
 src/afs/afs_nfsclnt.c           |   14 +++++++-------
 src/afs/afs_osi_gcpags.c        |    6 +++---
 src/afs/afs_osi_pag.c           |    6 +++---
 src/afs/afs_pag_call.c          |    2 +-
 src/afs/afs_pag_cred.c          |    4 ++--
 src/afs/afs_pioctl.c            |   16 ++++++++--------
 src/afs/afs_user.c              |    4 ++--
 src/afs/exporter.h              |    2 +-
 21 files changed, 97 insertions(+), 97 deletions(-)

-- 
OpenAFS Master Repository