windows-afsd-reset-acl-cache-20090312
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 14 Mar 2009 04:59:23 +0000 (04:59 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 14 Mar 2009 04:59:23 +0000 (04:59 +0000)
commitd0e4044cfeef3ce1c5d435251de9b584343225f5
treeddfdd9a11cb45362ab87448cd23bad93913f277b
parent8e01e5a4dbcaaea03fc3af59bec5ef211d5b4684
windows-afsd-reset-acl-cache-20090312

LICENSE MIT

Modify the cm_ResetACLCache interface to accept an optional cm_cell_t *.
At the moment every time a token is set or cleared all of the acl info
for all cm_scache_t objects regardless of cell is reset.  This is both
a performance hit and unnecessary.  If we know the cell, only reset
the acl info for cm_scache_t objects in that cell.

If cell is not specified, reset for all cells.
src/WINNT/afsd/afsd.h
src/WINNT/afsd/cm_aclent.c
src/WINNT/afsd/cm_aclent.h
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_user.c
src/WINNT/afsd/smb3.c
src/WINNT/afsd/smb_ioctl.c