Windows: cm_ConnByServer fix search for replication
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 7 Jan 2014 15:57:01 +0000 (10:57 -0500)
committerJeffrey Altman <jaltman@your-file-system.com>
Thu, 9 Jan 2014 19:21:02 +0000 (11:21 -0800)
commit6995a56884f31974e9b5a7c0c50e9c1aa0351a45
tree0612c3067a58a5eb852d35873b97ea8daec1c2b9
parentcccb5e614212c341d2f5e799066d1c30e54ba494
Windows: cm_ConnByServer fix search for replication

Separate connection objects are maintained for use when accessing
replicated and single source volumes.   If the matching connection
type cannot be found while holding the cm_connLock shared a second
search is performed after the lock is upgraded to an exclusive lock.
This second connection search was not enforcing the replication criteria.

Change-Id: I408a5d87c3a82da5235fa2255db7d1d7a6bcb6d9
Reviewed-on: http://gerrit.openafs.org/10681
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/cm_conn.c