summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_create.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-06-10 13:24:50 +0200
committerMichael Adam <obnox@samba.org>2014-08-06 09:51:11 +0200
commit92e96bedfb29101c1b0df6aed174b5ecf2b6001d (patch)
treed188e6fe5565fe50f556f574d95a2d1db92618b8 /source3/smbd/smb2_create.c
parent36e34842606b312a0ca338667797b6c00df50de7 (diff)
downloadsamba-92e96bedfb29101c1b0df6aed174b5ecf2b6001d.tar.gz
s3:smb2_server: move sconn->smb2.requests to xconn->smb2.requests
This prepares the structures for multi-channel support. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r--source3/smbd/smb2_create.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index d22df4da34d..0c27a010587 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -1213,9 +1213,10 @@ bool get_deferred_open_message_state_smb2(struct smbd_smb2_request *smb2req,
static struct smbd_smb2_request *find_open_smb2req(
struct smbd_server_connection *sconn, uint64_t mid)
{
+ struct smbXsrv_connection *xconn = sconn->conn;
struct smbd_smb2_request *smb2req;
- for (smb2req = sconn->smb2.requests; smb2req; smb2req = smb2req->next) {
+ for (smb2req = xconn->smb2.requests; smb2req; smb2req = smb2req->next) {
uint64_t message_id;
if (smb2req->subreq == NULL) {
/* This message has been processed. */