git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ad20213
)
disconnected-put-back-vcaches-we-held-20090323
author
Simon Wilkinson
<sxw@inf.ed.ac.uk>
Mon, 23 Mar 2009 19:11:16 +0000 (19:11 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 23 Mar 2009 19:11:16 +0000 (19:11 +0000)
LICENSE IPL10
if we hold a vcache for shadow, we need to release the ref when we give it up
src/afs/afs_dcache.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_dcache.c
b/src/afs/afs_dcache.c
index
f9cab1b
..
878bfab
100644
(file)
--- a/
src/afs/afs_dcache.c
+++ b/
src/afs/afs_dcache.c
@@
-3890,6
+3890,7
@@
void afs_DeleteShadowDir(struct vcache *avc)
ObtainWriteLock(&afs_disconDirtyLock, 708);
QRemove(&avc->shadowq);
ReleaseWriteLock(&afs_disconDirtyLock);
+ afs_PutVCache(avc); /* Because we held it when we added to the queue */
}
/*!