From: Dan Hyde Date: Wed, 7 May 2008 18:52:46 +0000 (+0000) Subject: STABLE14-vollistpart-init-error-20070927 X-Git-Tag: openafs-stable-1_4_8pre1~88 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7356f9f20d0ab31fdc005ba666afca580a7ccc8f;p=packages%2Fo%2Fopenafs.git STABLE14-vollistpart-init-error-20070927 FIXES 72144 correct an initialization failure in VolListPartitions (cherry picked from commit aecaddba376c5e2f15a7cb52f1777b07546695d4) --- diff --git a/src/volser/volprocs.c b/src/volser/volprocs.c index bbab80663..37c0972b3 100644 --- a/src/volser/volprocs.c +++ b/src/volser/volprocs.c @@ -1658,8 +1658,7 @@ VolListPartitions(struct rx_call *acid, struct pIDs *partIds) namehead[7] = '\0'; for (i = 0; i < 26; i++) { namehead[6] = i + 'a'; - if (VGetPartition(namehead, 0)) - partIds->partIds[i] = VGetPartition(namehead, 0) ? i : -1; + partIds->partIds[i] = VGetPartition(namehead, 0) ? i : -1; } return 0;