OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-devel-1_5_77-75-g7b14d72

Gerrit Code Review gerrit@openafs.org
Mon, 25 Oct 2010 14:50:33 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 7b14d729bd03d231fb7c4b090aecff5f1aea9c9e
Author: Christof Hanke <christof.hanke@rzg.mpg.de>
Date:   Tue Oct 5 17:01:41 2010 +0200

    volserver: Do not return ENOMEM on AIX from XVolListPartitions
    
    When calling "vos partinfo" or "vos listpart" towards a server
     running AIX with no partitions attached, it would return a
    ENOMEM, because unlike on linux, malloc(0) returns NULL on AIX.
    Thus, just don't do any malloc, when we have no partitions anyway.
    
    Reviewed-on: http://gerrit.openafs.org/2912
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 21e1bb9bb46b0e8e2523c3310ea8e602d2b07091)
    Change-Id: I88181baf4b4b5d0078593ffb27dedfd3f761db57
    Reviewed-on: http://gerrit.openafs.org/3050

 src/volser/volprocs.c |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

-- 
OpenAFS Master Repository