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 <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
Jeffrey Altman 2015-10-18 20:32:06 -04:00
parent 8b530d52a5
commit be603388ef

View File

@ -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))