mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
Report correct cache size when -memcache is used.
This commit is contained in:
parent
31f658f450
commit
c5222d45ec
@ -245,7 +245,7 @@ afs_CacheInit(astatSize, afiles, ablocks, aDentries, aVolumes, achunk, aflags,
|
||||
cm_initParams.cmi_nVolumeCaches = aVolumes;
|
||||
cm_initParams.cmi_firstChunkSize = AFS_FIRSTCSIZE;
|
||||
cm_initParams.cmi_otherChunkSize = AFS_OTHERCSIZE;
|
||||
cm_initParams.cmi_cacheSize = ablocks;
|
||||
cm_initParams.cmi_cacheSize = afs_cacheBlocks;
|
||||
cm_initParams.cmi_setTime = afs_setTime;
|
||||
cm_initParams.cmi_memCache = (aflags & AFSCALL_INIT_MEMCACHE) ? 1 : 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user