mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
Windows: AFSQueueFlushExtents permit NULL AuthGroup
If the AuthGroup is NULL, search for an AuthGroup to use when
queuing the flush extents request.
Reviewed-on: http://gerrit.openafs.org/7318
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry picked from commit 0fb70aab0e
)
Change-Id: I4f9ffd4b75413a0bbdd1cfd2eb0de3f9aa0b6a4f
Reviewed-on: http://gerrit.openafs.org/7344
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
parent
71b52dca2b
commit
b95f16bda5
@ -2183,9 +2183,23 @@ AFSQueueFlushExtents( IN AFSFcb *Fcb,
|
||||
|
||||
pWorkItem->RequestType = AFS_WORK_FLUSH_FCB;
|
||||
|
||||
RtlCopyMemory( &pWorkItem->AuthGroup,
|
||||
AuthGroup,
|
||||
sizeof( GUID));
|
||||
if ( AuthGroup == NULL)
|
||||
{
|
||||
|
||||
RtlZeroMemory( &pWorkItem->AuthGroup,
|
||||
sizeof( GUID));
|
||||
|
||||
ntStatus = AFSRetrieveValidAuthGroup( Fcb,
|
||||
NULL,
|
||||
TRUE,
|
||||
&pWorkItem->AuthGroup);
|
||||
}
|
||||
else
|
||||
{
|
||||
RtlCopyMemory( &pWorkItem->AuthGroup,
|
||||
AuthGroup,
|
||||
sizeof( GUID));
|
||||
}
|
||||
|
||||
pWorkItem->Specific.Fcb.Fcb = Fcb;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user