OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2749-gfd707e3

Gerrit Code Review
Sun, 22 Jul 2012 05:23:47 -0700 (PDT)

The following commit has been merged in the master branch:
commit 91d7cd931a0362b5055c37fc7adc3f5d6015b573
Author: Garrett Wollman <>
Date:   Fri Jul 20 18:35:56 2012 -0400

    uafs: avoid type-punning in get_user_struct()
    There's no need for type-punning here; usr_getspecific() is a macro
    that just assigns to the variable whose address we provide, so the
    cast was just unnecessary (and erroneous) obfuscation.  This is the
    only caller of usr_getspecific(), so if it needs to be more complex
    in the future, it should probably just be open-coded here.
    Change-Id: I81286cbce9a00908aa87073b728b07d8bcc8d1d1
    Tested-by: BuildBot <>
    Reviewed-by: Derrick Brashear <>

 src/afs/UKERNEL/afs_usrops.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

OpenAFS Master Repository