]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: Ensure that cm_NameI errors are acted upon promptly
authorJeffrey Altman <jaltman@your-file-system.com>
Wed, 15 Sep 2010 23:06:22 +0000 (01:06 +0200)
committerDerrick Brashear <shadow@dementia.org>
Mon, 25 Oct 2010 21:45:02 +0000 (14:45 -0700)
commit2b8a90ad216330e23ce87d8062a56e65f63124e6
tree3a1d8497efb4105c25b8fabcc0202df6cb0af5d7
parente496c0da54faf610a1b5963887bc679c8c615846
Windows: Ensure that cm_NameI errors are acted upon promptly

There are many cases in the SMB server where an error from cm_NameI()
was either ignored or not acted upon until several other operations
are performed that could result in the same error being repeated.
This is a mistake which did not have negative side effects until
additional checks for callback status were added recently.

At present, if a CM_ERROR_ACCESS error is returned and ignored,
subsequent attempts to operate on the same cm_scache_t will result
in additional queries to the file server that will also end in an
abort response.  This can trigger the file server to delay responses
to the client.

This patchset ensures that all cm_NameI() errors are acted upon
promptly.

LICENSE MIT

Reviewed-on: http://gerrit.openafs.org/2887
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit 565ab7aa8e751c06d03c3ab0034915572c29ef7c)
Change-Id: Ie690178b7709851d1c7f75d6cb0353cddf1866ff
Reviewed-on: http://gerrit.openafs.org/3044
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/WINNT/afsd/rpc_srvsvc.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb3.c