windows-lock-corrections-20080808
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 8 Aug 2008 17:43:37 +0000 (17:43 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 8 Aug 2008 17:43:37 +0000 (17:43 +0000)
commit423cdb708f21dcbc28f6563c7c49069f6a6ec155
tree6d0d68282e3e4c0e0694d17522c0ed72336d6964
parent425d6e2e159798e8d6a6d092d780edef6b3a2220
windows-lock-corrections-20080808

LICENSE MIT

Derrick helped identify a few locations where rw or mx locks where
not properly being tracked.  As a result there were some locations
in which an assertion could be thrown due to releasing the wrong
type of lock.

Also added lock_AssertXXX calls to some locations to ensure that
the correct lock type is being held when the calls are made.  volume
location updates, cm_SyncOp, cm_SyncOpDone.
src/WINNT/afsd/cm_daemon.c
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_volume.c
src/WINNT/afsd/rawops.c
src/WINNT/afsd/smb3.c