OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_5-114-gc8ffb8b

Gerrit Code Review gerrit@openafs.org
Wed, 30 Oct 2013 11:40:16 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit c8ffb8b9eefc8c2a0c6b41e3e29c0f03940a5fcf
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu Nov 1 16:33:31 2012 -0500

    afs_FreeDiscardedDCache: Avoid assert on error
    
    Currently afs_FreeDiscardedDCache will assert if it cannot read in any
    discarded dcache entry to free. Return an error instead of asserting,
    so the caller can figure out what to do about the error.
    
    Adjust the callers to handle the error, or panic.
    afs_MaybeFreeDiscardedDCache still just panics anyway, as making it
    handle the error gracefully is beyond the scope of this commit, and is
    work for another day.
    
    This changes afs_FreeDiscardedDCache to return an int.
    
    Reviewed-on: http://gerrit.openafs.org/8406
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    (cherry picked from commit 866a9fbbdd89735ab76a70cb6d6523db2b98e4c9)
    
    Change-Id: I42a3be4938e5a43c394475653075f9e03a9e7975
    Reviewed-on: http://gerrit.openafs.org/10357
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
    Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/afs/afs_dcache.c |   36 ++++++++++++++++++++++++++++++------
 1 files changed, 30 insertions(+), 6 deletions(-)

-- 
OpenAFS Master Repository