s3: smbd: Correctly set smb2req->smb1req->posix_pathnames from the calling fsp on...
[gd/samba/.git] / source3 / smbd / smb2_flush.c
index 5c8c171e418e94f1f5f0b7c6059678d0658db92c..2d3e6319697616a2d7fd3a0631ee3ce7f31653cc 100644 (file)
@@ -140,7 +140,7 @@ static struct tevent_req *smbd_smb2_flush_send(TALLOC_CTX *mem_ctx,
        DEBUG(10,("smbd_smb2_flush: %s - %s\n",
                  fsp_str_dbg(fsp), fsp_fnum_dbg(fsp)));
 
-       smbreq = smbd_smb2_fake_smb_request(smb2req);
+       smbreq = smbd_smb2_fake_smb_request(smb2req, fsp);
        if (tevent_req_nomem(smbreq, req)) {
                return tevent_req_post(req, ev);
        }