]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: always open dscp in smb_ReceiveNTTranCreate
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 11 Jul 2011 22:49:58 +0000 (23:49 +0100)
committerDerrick Brashear <shadow@dementia.org>
Wed, 13 Jul 2011 04:28:49 +0000 (21:28 -0700)
commit15e3089f89ae5ef3b1cb59074ed335a984918bd7
tree45746b110cd16541b842d4a7b77bd5e0154cd174
parentc90d67f02452ed1811a93c3f82b002d7d2a18737
Windows: always open dscp in smb_ReceiveNTTranCreate

There were two code paths in smb_ReceiveNTTranCreate that included
asserts in case the directory cm_scache_t object had not been
evaluated.  RT129299 contains a report that at least one of
them had been tripped in production.  There is no reason to avoid
evaluating the directory scp.  It must exist in the cache and
obtaining a reference in all cases simplifies the logic of this
overly complex function.

FIXES 129299

Reviewed-on: http://gerrit.openafs.org/4967
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit 27af8b4b537236d8c678465d034721dd220641c8)

Change-Id: Id4abbc179fc1410b3d45bfc9c69814f683ebcb57
Reviewed-on: http://gerrit.openafs.org/4977
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/WINNT/afsd/smb3.c