OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2749-gfd707e3
   
    Gerrit Code Review
     
    gerrit@openafs.org
       
    Sun, 22 Jul 2012 05:23:47 -0700 (PDT)
    
    
  
The following commit has been merged in the master branch:
commit 91d7cd931a0362b5055c37fc7adc3f5d6015b573
Author: Garrett Wollman <wollman@csail.mit.edu>
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
    Reviewed-on: http://gerrit.openafs.org/7799
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
 src/afs/UKERNEL/afs_usrops.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
-- 
OpenAFS Master Repository