]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-afsd-dirop-20070830
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 31 Aug 2007 03:56:59 +0000 (03:56 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 31 Aug 2007 03:56:59 +0000 (03:56 +0000)
commit4e39cbc91734d3e552bdfaceede6aa09141a74ee
treea0763c4c221c53faabd2c34ff2eecb1c4ffbdf15
parent1b33e2ee37ac7edec5f8610fb6917cead23c0644
DEVEL15-windows-afsd-dirop-20070830

Do not attempt to obtain a write lock on a directory
if we already know that we aren't going to perform any
local directory updates.

Add the CM_ERROR_BPLUS_NOMATCH error which has the same
meaning as CM_ERROR_NOSUCHFILE except that it indicates
that we came to that conclusion as the result of a bplus
search.  This provides us the ability to short circuit
additional directory searches since we know the answer
is final.

(cherry picked from commit 084ade0a987589593e2066394f35ebd98ee2137f)
src/WINNT/afsd/cm.h
src/WINNT/afsd/cm_dir.c
src/WINNT/afsd/cm_dir.h
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb3.c