git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4bb334e
)
newvcache-can-fail-now-20060116
author
Peter Somogyi
<psomogyi@gamax.hu>
Tue, 17 Jan 2006 04:59:11 +0000 (
04:59
+0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 17 Jan 2006 04:59:11 +0000 (
04:59
+0000)
FIXES 22260
allow newvcache to fail without ooping
sort of nasty, if you want more vcaches, say so.
src/afs/VNOPS/afs_vnop_lookup.c
patch
|
blob
|
history
diff --git
a/src/afs/VNOPS/afs_vnop_lookup.c
b/src/afs/VNOPS/afs_vnop_lookup.c
index
1d988b0
..
6b772a9
100644
(file)
--- a/
src/afs/VNOPS/afs_vnop_lookup.c
+++ b/
src/afs/VNOPS/afs_vnop_lookup.c
@@
-723,8
+723,10
@@
afs_DoBulkStat(struct vcache *adp, long dirCookie, struct vrequest *areqp)
}
if (!tvcp)
{
+ DRelease((struct buffer *)dirEntryp, 0);
ReleaseReadLock(&dcp->lock);
ReleaseReadLock(&adp->lock);
+ afs_PutDCache(dcp);
goto done; /* can happen if afs_NewVCache fails */
}