git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b11e76c
)
memcache-no-volitems-20050113
author
Derrick Brashear
<shadow@dementia.org>
Thu, 13 Jan 2005 23:37:21 +0000 (23:37 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 13 Jan 2005 23:37:21 +0000 (23:37 +0000)
Don't try to open VolumeItems when using memcache
src/afsd/afsd.c
patch
|
blob
|
history
diff --git
a/src/afsd/afsd.c
b/src/afsd/afsd.c
index
7679138
..
f8b23e9
100644
(file)
--- a/
src/afsd/afsd.c
+++ b/
src/afsd/afsd.c
@@
-1932,7
+1932,9
@@
mainproc(as, arock)
if (afsd_debug)
printf("%s: Calling AFSOP_VOLUMEINFO: volume info file is '%s'\n", rn,
fullpn_VolInfoFile);
- call_syscall(AFSOP_VOLUMEINFO, fullpn_VolInfoFile);
+ /* once again, meaningless for a memory-based cache. */
+ if (!(cacheFlags & AFSCALL_INIT_MEMCACHE))
+ call_syscall(AFSOP_VOLUMEINFO, fullpn_VolInfoFile);
/*
* Pass the kernel the name of the afs logging file holding the volume