]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
libafs: Correct GUACB afs_LoopServers flags
authorAndrew Deason <adeason@sinenomine.net>
Thu, 5 May 2011 16:37:12 +0000 (11:37 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 12 Mar 2014 13:23:18 +0000 (06:23 -0700)
Use the named constant AFS_LS_ALL.

This change is 1.6-specific, and contains only part of
1f48bc7a30d5df88a1e5f539ee22df3952533a88. The rest of
1f48bc7a30d5df88a1e5f539ee22df3952533a88 was committed in
4c4075ade0d46087638bd8cc96aa9fac005e62f3, before the FlushAllVCBs call
was added.

Reviewed-on: http://gerrit.openafs.org/4624
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit 1f48bc7a30d5df88a1e5f539ee22df3952533a88)

Change-Id: I9284abe1cb9752c5204b9b1c91438983d854a864
Reviewed-on: http://gerrit.openafs.org/8840
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/afs_vcache.c

index d18f4e50f00cc1f51db265ecbb2bc28920339008..64d69a6b37f5a5e1e424c110e97d094731eb4518 100644 (file)
@@ -426,7 +426,7 @@ afs_FlushVCBs(afs_int32 lockit)
      */
 
     if (lockit == 2)
-       afs_LoopServers(2, NULL, 0, FlushAllVCBs, NULL);
+       afs_LoopServers(AFS_LS_ALL, NULL, 0, FlushAllVCBs, NULL);
 
     ObtainReadLock(&afs_xserver);
     for (i = 0; i < NSERVERS; i++) {