From be603388ef3ec8918dba47ede9dc3e4196492100 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sun, 18 Oct 2015 20:32:06 -0400 Subject: [PATCH] Windows: rdr pioctl operations are opaque Although pioctl operations are delivered through the redirector the contents of the operations are opaque to the redirector. Therefore, the cm_req must not be initialized as a redirector operation. If they are the necessary invalidation notifications for symlink and mount point operations will not be delivered. Change-Id: I48c2d89d2b2e0fc3f0ef56e7731108a8c51e1674 Reviewed-on: http://gerrit.openafs.org/12062 Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- src/WINNT/afsrdr/user/RDRFunction.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/WINNT/afsrdr/user/RDRFunction.c b/src/WINNT/afsrdr/user/RDRFunction.c index 1c617aeb15..eb4ab62ada 100644 --- a/src/WINNT/afsrdr/user/RDRFunction.c +++ b/src/WINNT/afsrdr/user/RDRFunction.c @@ -5362,7 +5362,7 @@ RDR_PioctlOpen( IN cm_user_t *userp, cm_fid_t RootFid; cm_req_t req; - RDR_InitReq(&req, bWow64); + cm_InitReq(&req); *ResultCB = (AFSCommResult *)malloc( sizeof( AFSCommResult)); if (!(*ResultCB)) @@ -5430,7 +5430,7 @@ RDR_PioctlWrite( IN cm_user_t *userp, cm_req_t req; DWORD status; - RDR_InitReq(&req, bWow64); + cm_InitReq(&req); *ResultCB = (AFSCommResult *)malloc( sizeof( AFSCommResult) + sizeof(AFSPIOCtlIOResultCB)); if (!(*ResultCB)) @@ -5469,7 +5469,7 @@ RDR_PioctlRead( IN cm_user_t *userp, DWORD status; afs_uint32 pflags = (bIsLocalSystem ? AFSCALL_FLAG_LOCAL_SYSTEM : 0); - RDR_InitReq(&req, bWow64); + cm_InitReq(&req); *ResultCB = (AFSCommResult *)malloc( sizeof( AFSCommResult) + sizeof(AFSPIOCtlIOResultCB)); if (!(*ResultCB))