OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-227-g21e1bb9
Gerrit Code Review
gerrit@openafs.org
Tue, 5 Oct 2010 12:27:52 -0700 (PDT)
The following commit has been merged in the master branch:
commit 21e1bb9bb46b0e8e2523c3310ea8e602d2b07091
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.
Change-Id: Id1900e2ab11850ada8b2e91667288576d408014b
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>
src/volser/volprocs.c | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
--
OpenAFS Master Repository