From 97581f751024527d1090566f2d59fd1b14235b67 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 15 May 2012 00:23:17 -0400 Subject: [PATCH] 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 --- src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp b/src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp index 3bb9e5f2fc..325dd87718 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; + } } //