Windows: Move VolumeWorkerContext to NonPaged pool
[openafs.git] / src / WINNT / afsrdr / kernel / lib / Include / AFSStructs.h
index 8e98b31..e4d47a9 100644 (file)
@@ -193,6 +193,8 @@ typedef struct _AFS_OBJECT_INFORMATION_CB
 
     LONG                      ObjectReferenceCount;
 
+    LONG                      ObjectReferences[ 8];
+
     AFSNonPagedObjectInfoCB  *NonPagedInfo;
 
     //
@@ -321,7 +323,13 @@ typedef struct _AFS_NON_PAGED_VOLUME_CB
 
     ERESOURCE           DirectoryNodeHdrLock;
 
-}AFSNonPagedVolumeCB;
+    //
+    // Volume worker thread
+    //
+
+    AFSWorkQueueContext       VolumeWorkerContext;
+
+} AFSNonPagedVolumeCB;
 
 typedef struct _AFS_VOLUME_CB
 {
@@ -379,12 +387,6 @@ typedef struct _AFS_VOLUME_CB
     AFSFcb                   *RootFcb;
 
     //
-    // Volume worker thread
-    //
-
-    AFSWorkQueueContext       VolumeWorkerContext;
-
-    //
     // Volume information
     //
 
@@ -431,7 +433,7 @@ typedef struct _AFS_DIRECTORY_CB
     // for tear down
     //
 
-    LONG             OpenReferenceCount;
+    LONG             DirOpenReferenceCount;
 
     //
     // File index used in directory enumerations