memcache-no-volitems-20050113

Don't try to open VolumeItems when using memcache
This commit is contained in:
Derrick Brashear 2005-01-13 23:37:21 +00:00
parent b11e76ce63
commit 1307b89188

View File

@ -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