windows-misc-fix-20061004
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 5 Oct 2006 06:39:46 +0000 (06:39 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 5 Oct 2006 06:39:46 +0000 (06:39 +0000)
commit38d464e5791dbd96d6da85a0c0123f8b575f4e39
treeb3f990841b955c0ff954f9b6aca286201da92838
parentb9fd1d4c7eb672ec092596af7826e87e2d931c40
windows-misc-fix-20061004

more cleanup from recent patches.  comment out the recycling code because
it is not possible to implement it using the current locking hierarchy.

change cm_BufWrite to take a pointer to cm_scache_t instead of a fid
which must be used to look up a new reference to the cm_scache_t.
more often than not we already have the scp and in the one case we
don't we can let the caller look up the scp and then call cm_BufWrite
if it is found.  If not, we have saved a function call and a bunch
of lock operations.

add a lot more logging.

improve the scp mutex handling within smb_CloseFID
src/WINNT/afsd/cm_buf.c
src/WINNT/afsd/cm_daemon.c
src/WINNT/afsd/cm_dcache.c
src/WINNT/afsd/cm_dnlc.c
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_scache.h
src/WINNT/afsd/smb.c