From: Jeffrey Altman Date: Thu, 24 Jan 2013 23:51:01 +0000 (-0500) Subject: Windows: Allocated VolumeCB from PagedPool X-Git-Tag: upstream/1.8.0_pre1^2~1606 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8d4757284a08d5e7123fab696c5da64faa4e6fb7;p=packages%2Fo%2Fopenafs.git Windows: Allocated VolumeCB from PagedPool Only the non-paged portion of the VolumeCB should be allocated from the non-paged pool. Allocate the VolumeCB itself from the paged pool. Change-Id: If248faf78546bb34fd1ba1ddcc1acb5a6da20c6f Reviewed-on: http://gerrit.openafs.org/8957 Reviewed-by: Rod Widdowson Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/WINNT/afsrdr/kernel/lib/AFSFcbSupport.cpp b/src/WINNT/afsrdr/kernel/lib/AFSFcbSupport.cpp index 0546781fa..fec903fa2 100644 --- a/src/WINNT/afsrdr/kernel/lib/AFSFcbSupport.cpp +++ b/src/WINNT/afsrdr/kernel/lib/AFSFcbSupport.cpp @@ -468,7 +468,7 @@ AFSInitVolume( IN GUID *AuthGroup, // into the volume tree ... // - pVolumeCB = (AFSVolumeCB *)AFSExAllocatePoolWithTag( NonPagedPool, + pVolumeCB = (AFSVolumeCB *)AFSExAllocatePoolWithTag( PagedPool, sizeof( AFSVolumeCB), AFS_VCB_ALLOCATION_TAG);