From 040b9333ea416cec8f4d5b6b674464847efc8e31 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 5 May 2011 11:37:12 -0500 Subject: [PATCH] libafs: Correct GUACB afs_LoopServers flags 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 Tested-by: BuildBot (cherry picked from commit 1f48bc7a30d5df88a1e5f539ee22df3952533a88) Change-Id: I9284abe1cb9752c5204b9b1c91438983d854a864 Reviewed-on: http://gerrit.openafs.org/8840 Tested-by: BuildBot Tested-by: Andrew Deason Reviewed-by: Benjamin Kaduk Reviewed-by: Andrew Deason Reviewed-by: Stephan Wiesand --- src/afs/afs_vcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index d18f4e50f..64d69a6b3 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -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++) { -- 2.39.5