The following commit has been merged in the openafs-stable-1_6_x branch:
commit 7ee0beb5ed58161fb452e88324eaf16cad626f8b
Author: Andrew Deason <[email protected]>
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.
    
    Reviewed-on: http://gerrit.openafs.org/10634
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Reviewed-by: Derrick Brashear <[email protected]>
    Tested-by: Derrick Brashear <[email protected]>
    (cherry picked from commit 34e4a4fed356fbda9fc8ace1d01a080bd09238b0)
    
    Change-Id: Icceee0c82b0704e0d445f96946b493b4be424506
    Reviewed-on: http://gerrit.openafs.org/10813
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Reviewed-by: D Brashear <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>

 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
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to