OpenAFS Master Repository branch, openafs-stable-1_6_5_x, updated. openafs-stable-1_6_5_1-3-g59269b3

Gerrit Code Review
Fri, 20 Dec 2013 07:08:21 -0800 (PST)

The following commit has been merged in the openafs-stable-1_6_5_x branch:
commit 59269b39b2dcc6ad9157c674b0104beecba46206
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.
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>
    (cherry picked from commit 1d8937b860509fcaabb041bc14faf7aa3023f3c9)
    Tested-by: BuildBot <>
    Reviewed-by: Stephan Wiesand <>
    (cherry picked from commit 931d1a8bea393ba3df69b163cb4d05c35f3c948e)
    Change-Id: Iba1def8ae4004e918185109767bd8a0f0a263813
    Reviewed-by: Stephan Wiesand <>
    Tested-by: Stephan Wiesand <>

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

OpenAFS Master Repository