]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-smb-misc-20090220
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 21 Feb 2009 04:26:53 +0000 (04:26 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 21 Feb 2009 04:26:53 +0000 (04:26 +0000)
commita14281359d9296a39459e1800a4ceda2688253a5
tree558177535612b3dd177816af1a8b0da808064179
parent671c0e3435589e8bf51ec7101ea01303af582f5a
DEVEL15-windows-smb-misc-20090220

LICENSE MIT

Fix smb_FindFIDByScache() to avoid obtaining the smb_fid_t.mx and
smb_rctLock out of order.  Doing so requires obtaining references
on each smb_fid_t belonging to the smb_vc_t in order to prevent them
from being removed from the list while the list is being walked.

Reorder tests for CM_SCACHEFLAG_DELETED and smb_fid_t.scp to make
them more efficient and consistent.

When processing Tran2SetPathInfo do not fail because an smb_fid_t
cannot be found for the path object.  The PathInfo function is
being used because we do not have a file descriptor.  Most importantly
do not fail by returning success.

(cherry picked from commit 8382f8ccb1c14f32318b3d1c587b417cce4c721c)
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb3.c