OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4133-g335a706

Gerrit Code Review gerrit@openafs.org
Wed, 29 Jan 2014 07:35:26 -0800 (PST)


The following commit has been merged in the master branch:
commit 34e4a4fed356fbda9fc8ace1d01a080bd09238b0
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu Dec 26 16:42:46 2013 -0500

    afs: Treat vc_error as a CheckCode-translated code
    
    The vcache field vc_error is generally treated as an error code that
    has been translated through afs_CheckCode, but this is inconsistent in
    a few places. Fix this in a few ways:
    
     - Adjust afs_nfsrdwr so we do not call afs_CheckCode on vc_error,
       translating the error code twice.
    
     - Change afs_close to store vc_error in code_checkcode, and have the
       logging code check for specific values in code_checkcode as well.
       Log unknown values of code and code_checkcode, so we can
       distinguish between e.g. a 'code' value of VBUSY, and a
       'code_checkcode' value of ETIMEDOUT.
    
    Change-Id: Iab4928efd183fb6c5b0b0f30375b9952ba13b45a
    Reviewed-on: http://gerrit.openafs.org/10634
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    Tested-by: Derrick Brashear <shadow@your-file-system.com>

 src/afs/SOLARIS/osi_vnodeops.c |    9 +++++++--
 src/afs/VNOPS/afs_vnop_write.c |   23 ++++++++++++++---------
 2 files changed, 21 insertions(+), 11 deletions(-)

-- 
OpenAFS Master Repository