mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-newvcache-can-fail-now-20060116
FIXES 22260 allow newvcache to fail without ooping sort of nasty, if you want more vcaches, say so. (cherry picked from commit c19324c8574c66f18cd18f2df4beb486460205aa)
This commit is contained in:
parent
674823d88c
commit
eb72bfe0b2
@ -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 */
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user