OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Sun, 28 Jun 2009 00:15:32 EDT
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-head/src/WINNT/afsd
Modified Files:
cm_callback.c cm_server.c cm_server.h
Log Message:
DELTA windows-multi-homed-callbacks-20090627
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT
Properly handle callbacks from multi-homed file servers.
Comparing cm_server_t pointers is insufficient. For a multi-homed
server there will be multiple entries. The UUID for all of the
equivalent entries will be the same. What matters is not that
the pointers are the same but whether in the case of UUID labeled
servers that the UUIDs match.
Add cm_ServerEqual() to perform the comparison.
--- DELTA config follows ---
windows-multi-homed-callbacks-20090627 openafs/src/WINNT/afsd/cm_callback.c 1.98 1.99
windows-multi-homed-callbacks-20090627 openafs/src/WINNT/afsd/cm_server.c 1.66 1.67
windows-multi-homed-callbacks-20090627 openafs/src/WINNT/afsd/cm_server.h 1.30 1.31