From: Jeffrey Altman Date: Sun, 3 Feb 2013 06:20:36 +0000 (-0500) Subject: Windows: Fix RDR_BkgFetch rock assigment X-Git-Tag: upstream/1.8.0_pre1^2~1580 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=5f17b9f9295b4f1c86cc71a5253f93a9c56078a4;p=packages%2Fo%2Fopenafs.git Windows: Fix RDR_BkgFetch rock assigment The wrong variables were assigned to the rock base and offset in the final queuing of a RDR_BkgFetch request within RDR_RequestFileExtentsAsync. Introduced in 8b874aa205cd05b8109a296c8cb8ad0bb5114553. Change-Id: I77af22caed9eceb4c90b8fa18b91945d059995e5 Reviewed-on: http://gerrit.openafs.org/9058 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/WINNT/afsrdr/user/RDRFunction.c b/src/WINNT/afsrdr/user/RDRFunction.c index ff5f2f9c1..598f3ff70 100644 --- a/src/WINNT/afsrdr/user/RDRFunction.c +++ b/src/WINNT/afsrdr/user/RDRFunction.c @@ -3775,8 +3775,8 @@ RDR_RequestFileExtentsAsync( IN cm_user_t *userp, if (rockp) { req.flags &= ~CM_REQ_NORETRY; - rockp->base = QueueOffset; - rockp->length.LowPart = QueueLength; + rockp->base = BeginOffset; + rockp->length.LowPart = length; rockp->length.HighPart = 0; cm_QueueBKGRequest(scp, RDR_BkgFetch, rockp, userp, &req);