]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
avoid case where we never come out of loop attempting to clear host callbacks
authorHartmut Reuter <reuter@rzg.mpg.de>
Fri, 19 Apr 2002 04:50:32 +0000 (04:50 +0000)
committerGarry Zacheiss <zacheiss@mit.edu>
Fri, 19 Apr 2002 04:50:32 +0000 (04:50 +0000)
(cherry picked from commit b7b178842458b274f9e5d45dbd1bb50826a3d58a)

src/viced/callback.c

index 78ea7013142773ff372f5bd13671afbba37e3a46..2e9b029414db811a73c14ccce6273db91c79f65d 100644 (file)
@@ -1417,6 +1417,7 @@ static int GetSomeSpace_r(hostp, locked)
            cbstuff.GSS4++;
            if ( ! ClearHostCallbacks_r(hp, 0 /* not locked or held */) )
                return;
+           hp1 = hp;
        } else {
            hp1 = hostp;
            cbstuff.GSS1++;