Don't call cm_GetCallback without checking the current callback status
with cm_HaveCallback first
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
undo this incorrect change. don't test for existence of a callback
when we want to force a FetchStatus to obtain per-user ACL info
(cherry picked from commit
665a125335c4844d35fa6510a38083602ef7fdbc)
lock_ObtainMutex(&scp->mx);
return code;
}
-
osi_Log1(afsd_logp, "GetAccess parent scp %x user %x", aclScp, up);
- lock_ObtainMutex(&aclScp->mx);
- code = cm_GetCallback(aclScp, up, reqp, 1);
+ lock_ObtainMutex(&aclScp->mx);
+ code = cm_GetCallback(aclScp, up, reqp, 1);
lock_ReleaseMutex(&aclScp->mx);
cm_ReleaseSCache(aclScp);
lock_ObtainMutex(&scp->mx);