git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6eb1088
)
balance afs_vcount in non-linux CM
author
Derrick Brashear
<shadow@dementia.org>
Thu, 2 Dec 2010 06:48:53 +0000 (
01:48
-0500)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 2 Dec 2010 18:14:26 +0000 (10:14 -0800)
when we dole out a vcache, count it.
Change-Id: Id0f9e20b4b8a9de6ee83dcb383c3a152f6b733e6
Reviewed-on: http://gerrit.openafs.org/3423
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_vcache.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_vcache.c
b/src/afs/afs_vcache.c
index
57c9069
..
e515d3c
100644
(file)
--- a/
src/afs/afs_vcache.c
+++ b/
src/afs/afs_vcache.c
@@
-818,6
+818,7
@@
afs_NewVCache_int(struct VenusFid *afid, struct server *serverp, int seq)
tvc = freeVCList; /* take from free list */
freeVCList = tvc->nextfree;
tvc->nextfree = NULL;
+ afs_vcount++; /* balanced by FlushVCache */
} /* end of if (!freeVCList) */
#endif /* AFS_LINUX22_ENV */