git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
31f658f
)
Report correct cache size when -memcache is used.
author
Nickolai Zeldovich
<kolya@mit.edu>
Tue, 21 May 2002 07:35:57 +0000 (07:35 +0000)
committer
Nickolai Zeldovich
<kolya@mit.edu>
Tue, 21 May 2002 07:35:57 +0000 (07:35 +0000)
src/afs/afs_init.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_init.c
b/src/afs/afs_init.c
index
1fd3620
..
36ae3d5
100644
(file)
--- a/
src/afs/afs_init.c
+++ b/
src/afs/afs_init.c
@@
-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;