]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-lock-corrections-20080808
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 8 Aug 2008 17:46:35 +0000 (17:46 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 8 Aug 2008 17:46:35 +0000 (17:46 +0000)
commit8785d788c6bdbf0f731985b5956697d718b55b3e
treec5685150835655cf72bb7165c9004599ac0228b5
parent3559e56158528e6affd694f05b38e9812656773b
DEVEL15-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.

(cherry picked from commit 423cdb708f21dcbc28f6563c7c49069f6a6ec155)
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