OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2761-ga738c8d

Gerrit Code Review gerrit@openafs.org
Mon, 23 Jul 2012 20:27:38 -0700 (PDT)


The following commit has been merged in the master branch:
commit a738c8dcff8410d82b631a0e71c23b8447db9a0d
Author: Garrett Wollman <wollman@csail.mit.edu>
Date:   Mon Jul 23 22:07:38 2012 -0400

    ptuser: pr_SNameToId/SIdToName: if RPC response empty, force error
    
    If the prserver returns an empty response to ubik_PR_NameToID
    or ubik_PR_IDToName, but doesn't otherwise give an error,
    force a PRINTERNAL error return so that the client knows that the
    the return parameter was not updated.  Existing callers seem to
    expect this, as pr_SNameToId is often called without initializing
    the variable which receives the result and checking only for the
    error code.
    
    PRINTERNAL is a new error code.
    
    Change-Id: I3e598a22deb39792a0f208ac09b3c1991d6f1e58
    Reviewed-on: http://gerrit.openafs.org/7836
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/ptserver/pterror.et |    1 +
 src/ptserver/ptuser.c   |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository