mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 08:20:16 +00:00
Windows: cm_ResetACLCache handle NULL cellp
It is valid for the cellp parameter to be NULL. When invalidating all ACLs for a user pass 0 to cm_EAccesClearUserEntries(). FIXES 130704 Change-Id: Ic6b6e5f1c2e10aa633390ee3d7c709dc202bbd29 Reviewed-on: http://gerrit.openafs.org/7251 Tested-by: BuildBot <buildbot@rampaginggeek.com> Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com> Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
parent
d55a767287
commit
9dce9e2461
@ -406,7 +406,7 @@ cm_ResetACLCache(cm_cell_t *cellp, cm_user_t *userp)
|
|||||||
}
|
}
|
||||||
lock_ReleaseRead(&cm_scacheLock);
|
lock_ReleaseRead(&cm_scacheLock);
|
||||||
|
|
||||||
cm_EAccesClearUserEntries(userp, cellp->cellID);
|
cm_EAccesClearUserEntries(userp, cellp ? cellp->cellID : 0);
|
||||||
|
|
||||||
if (RDR_Initialized) {
|
if (RDR_Initialized) {
|
||||||
lock_ObtainRead(&cm_volumeLock);
|
lock_ObtainRead(&cm_volumeLock);
|
||||||
|
Loading…
Reference in New Issue
Block a user