break;
}
- if (userp) {
- pResultCB->Authenticated = cm_HaveToken( userp,
- RequestBuffer->FileId.Cell);
- }
-
if( BooleanFlagOn( RequestBuffer->RequestFlags, AFS_REQUEST_FLAG_SYNCHRONOUS))
{
- if (pResultCB == NULL) {
+
+ if (pResultCB == NULL) {
// We failed probably due to a memory allocation error
// unless the unsupported flag was set.
pResultCB = &stResultCB;
pResultCB->ResultStatus = STATUS_NO_MEMORY;
}
+ if (userp) {
+ pResultCB->Authenticated = cm_HaveToken( userp,
+ RequestBuffer->FileId.Cell);
+ }
+
//
// This is how the filter associates the response information passed in the IOCtl below to the
// original call. This request index is setup by the filter and should not be modified, otherwise the