Windows: AFSFileUpdateResultCB ParentDataVersion
authorJeffrey Altman <jaltman@your-file-system.com>
Sat, 31 Dec 2011 02:45:54 +0000 (21:45 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 31 Dec 2011 21:44:30 +0000 (13:44 -0800)
Add the parent directory data version to the AFSFileUpdateResultCB
structure.

Change-Id: Ia1b1345c410ff216b35f3d42912ac921b978a299
Reviewed-on: http://gerrit.openafs.org/6459
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

src/WINNT/afsrdr/common/AFSUserStructs.h
src/WINNT/afsrdr/user/RDRFunction.c

index 8068f29..db57343 100644 (file)
@@ -524,6 +524,8 @@ typedef struct _AFS_FILE_UPDATE_CB
 typedef struct _AFS_FILE_UPDATE_RESULT_CB
 {
 
+    LARGE_INTEGER   ParentDataVersion;
+
     AFSDirEnumEntry DirEnum;
 
 } AFSFileUpdateResultCB;
index bc9ab61..d659801 100644 (file)
@@ -1639,6 +1639,8 @@ RDR_UpdateFileEntry( IN cm_user_t *userp,
 
         pResultCB = (AFSFileUpdateResultCB *)(*ResultCB)->ResultData;
 
+        pResultCB->ParentDataVersion.QuadPart = dscp->dataVersion;
+
         code = RDR_PopulateCurrentEntry(&pResultCB->DirEnum, dwRemaining,
                                         dscp, scp, userp, &req, NULL, NULL,
                                         RDR_POP_FOLLOW_MOUNTPOINTS | RDR_POP_EVALUATE_SYMLINKS,