Windows: Use AFS_OBJECT_REFERENCE_MAX in struct
[openafs.git] / src / WINNT / afsrdr / kernel / lib / Include / AFSStructs.h
index e4d47a9..3e308ff 100644 (file)
@@ -193,7 +193,7 @@ typedef struct _AFS_OBJECT_INFORMATION_CB
 
     LONG                      ObjectReferenceCount;
 
-    LONG                      ObjectReferences[ 8];
+    LONG                      ObjectReferences[ AFS_OBJECT_REFERENCE_MAX];
 
     AFSNonPagedObjectInfoCB  *NonPagedInfo;
 
@@ -207,7 +207,7 @@ typedef struct _AFS_OBJECT_INFORMATION_CB
     // Parent object information
     //
 
-    struct _AFS_OBJECT_INFORMATION_CB   *ParentObjectInformation;
+    AFSFileID              ParentFileId;
 
     //
     // Pointer to the current Fcb, if available
@@ -436,6 +436,12 @@ typedef struct _AFS_DIRECTORY_CB
     LONG             DirOpenReferenceCount;
 
     //
+    // Current count of reference from Name Array entries
+    //
+
+    LONG             NameArrayReferenceCount;
+
+    //
     // File index used in directory enumerations
     //