]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-scache-deletion-and-lock-verification-20080612
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 12 Jun 2008 15:22:22 +0000 (15:22 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 12 Jun 2008 15:22:22 +0000 (15:22 +0000)
commit81cfe9462884788b2481d8f44dc86e8953f1ffc3
tree8f96f6021d2a75de6681d22f50743c8e99e7c37a
parent4ed6721bbf5dae1235adc53ed0e89d0b6792d6e4
DEVEL15-windows-scache-deletion-and-lock-verification-20080612

LICENSE MIT

Add lock assertions to various functions.

Obtain a missing lock around a call to cm_RemoveSCacheFromHashTable().

Correct an abstraction layer violation.  cm_scache_t objects should
be marked deleted in cm_Unlink() and cm_RemoveDir() and not in
smb_CloseFID().  Cleanup of deleted cm_scache_t objects should be
performed in cm_ReleaseSCache() when the reference count hits zero.

Prototype cm_AdjustScacheLRU() and re-implement it using osi_QAddH().

(cherry picked from commit 52490d7968c2008912ab0887bdcde7fbba43b837)
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_scache.h
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/smb.c