OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2302-g1d8937b

Gerrit Code Review
Sat, 7 Apr 2012 05:06:46 -0700 (PDT)

The following commit has been merged in the master branch:
commit 1d8937b860509fcaabb041bc14faf7aa3023f3c9
Author: Simon Wilkinson <>
Date:   Fri Mar 30 19:09:36 2012 +0100

    DARWIN: Make crfree() an inline function
    On Darwin 100, we have
       #define crfree(X) kauth_cred_unref(&X)
    which expands in one place to
       kauth_cred_unref(&(afs_ucred_t *)avc->linkData)
    clang warns about this in -Werror mode, because arguments to the
    address-of operator must be lvalues.
    To fix this make crfree an inline function, which will then let us do
    the indirection required.
    Change-Id: Ic5adb63dcdc11e04c1e428c32e85f33a987fcf42
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>

 src/afs/DARWIN/osi_machdep.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

OpenAFS Master Repository