Windows: Use AFS_OBJECT_REFERENCE_MAX in struct
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 4 Feb 2013 19:56:27 +0000 (14:56 -0500)
committerJeffrey Altman <jaltman@your-file-system.com>
Tue, 5 Feb 2013 01:47:52 +0000 (17:47 -0800)
Use AFS_OBJECT_REFERENCE_MAX to size the array in the struct.
This should have been a part of patchset
e267774f1a4f9cc5bfc32c545df36a4bf7947607.

Change-Id: I9323387a27a5bc2e708f8a8424cb38b491d542d7
Reviewed-on: http://gerrit.openafs.org/9066
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

src/WINNT/afsrdr/kernel/lib/Include/AFSStructs.h

index 44c133a..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;