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:
Jeffrey Altman 2012-04-19 05:14:51 -04:00 committed by Jeffrey Altman
parent d55a767287
commit 9dce9e2461

View File

@ -406,7 +406,7 @@ cm_ResetACLCache(cm_cell_t *cellp, cm_user_t *userp)
}
lock_ReleaseRead(&cm_scacheLock);
cm_EAccesClearUserEntries(userp, cellp->cellID);
cm_EAccesClearUserEntries(userp, cellp ? cellp->cellID : 0);
if (RDR_Initialized) {
lock_ObtainRead(&cm_volumeLock);