s3:smb2_*: make use of smb2req->xconn where possible
[sfrench/samba-autobuild/.git] / source3 / smbd / smb2_create.c
index 0c27a010587749a9d30af295f98ca88b5485eaa7..7565201f85c34d0f5c64b4ebf99521ec92bed425 100644 (file)
@@ -820,7 +820,7 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
                        DATA_BLOB new_cookie = data_blob_null;
                        NTTIME now = timeval_to_nttime(&smb2req->request_time);
 
-                       status = smb2srv_open_recreate(smb2req->sconn->conn,
+                       status = smb2srv_open_recreate(smb2req->xconn,
                                                smb1req->conn->session_info,
                                                persistent_id, create_guid,
                                                now, &op);