From: Jeffrey Altman Date: Tue, 15 May 2012 04:23:17 +0000 (-0400) Subject: Windows: init section ptrs for pioctl files X-Git-Tag: upstream/1.8.0_pre1^2~2407 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=97581f751024527d1090566f2d59fd1b14235b67;p=packages%2Fo%2Fopenafs.git Windows: init section ptrs for pioctl files FIXES 130783 Change-Id: I809d21d5d30727172d6e1026d99b32466fcc74c6 Reviewed-on: http://gerrit.openafs.org/7407 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp b/src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp index 3bb9e5f2f..325dd8771 100644 --- a/src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp +++ b/src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp @@ -1140,9 +1140,15 @@ try_exit: // For files perform additional processing // - if( pFcb->Header.NodeTypeCode == AFS_FILE_FCB) + switch( pFcb->Header.NodeTypeCode) { - pFileObject->SectionObjectPointer = &pFcb->NPFcb->SectionObjectPointers; + + case AFS_FILE_FCB: + case AFS_IOCTL_FCB: + { + + pFileObject->SectionObjectPointer = &pFcb->NPFcb->SectionObjectPointers; + } } //