mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
afsd: Avoid printing cacheBaseDir for memcache
cacheBaseDir is NULL when memcache is turned on; don't print it. Change-Id: Ib75a64767a9027a9eaf0341d0ad543d023cfcad4 Reviewed-on: http://gerrit.openafs.org/7443 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
2e2bc535bd
commit
9eb924f16c
@ -2376,13 +2376,13 @@ afsd_run(void)
|
||||
* Give the kernel the names of the AFS files cached on the workstation's
|
||||
* disk.
|
||||
*/
|
||||
if (afsd_debug)
|
||||
printf
|
||||
("%s: Calling AFSOP_CACHEFILE for each of the %d files in '%s'\n",
|
||||
rn, cacheFiles, cacheBaseDir);
|
||||
if (!(cacheFlags & AFSCALL_INIT_MEMCACHE)) {
|
||||
/* ... and again ... */
|
||||
int nocachefile = 0;
|
||||
if (afsd_debug)
|
||||
printf
|
||||
("%s: Calling AFSOP_CACHEFILE for each of the %d files in '%s'\n",
|
||||
rn, cacheFiles, cacheBaseDir);
|
||||
/* ... and again ... */
|
||||
for (currVFile = 0; currVFile < cacheFiles; currVFile++) {
|
||||
if (!nocachefile) {
|
||||
sprintf(fullpn_VFile, "%s/D%d/V%d", cacheBaseDir, dir_for_V[currVFile], currVFile);
|
||||
|
Loading…
Reference in New Issue
Block a user