OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3114-gf74a0a7

Gerrit Code Review gerrit@openafs.org
Tue, 13 Nov 2012 10:38:09 -0800 (PST)


The following commit has been merged in the master branch:
commit f74a0a7bbb37a8ab6050e833cf8d66abdff31854
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu Nov 1 11:51:42 2012 -0500

    afs: Handle easy GetValidDSlot errors
    
    Many callers of GetValidDSlot currently assume they will always get
    back a valid dcache, and will panic on getting NULL. However, for many
    of these callers, handling the NULL case is quite easy, since the
    failure to get a dcache can just result in an error directly, or
    obtaining the dcache is best-effort or just an optimization.
    
    This commit just handles the "easy" cases; some other callers require
    more complex handling.
    
    Change-Id: I622908de7004ba4cb18ccb26bda0e75b879f65ca
    Reviewed-on: http://gerrit.openafs.org/8375
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>

 src/afs/afs_dcache.c   |   40 +++++++++++++++++++++++++++++++---------
 src/afs/afs_segments.c |   40 ++++++++++++++++++++++++++++++----------
 2 files changed, 61 insertions(+), 19 deletions(-)

-- 
OpenAFS Master Repository