diff options
author | Ralph Boehme <slow@samba.org> | 2019-01-08 10:34:11 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2019-01-11 23:11:19 +0100 |
commit | a307e798ddfc4f8fa32e22827c39f5e1f0e87d47 (patch) | |
tree | 1c8c24b1256add27ce03caaa94e35173fd50cbc5 /source3 | |
parent | e2f46c9333e2919fbdfddc1f6049478fe07765aa (diff) | |
download | samba-a307e798ddfc4f8fa32e22827c39f5e1f0e87d47.tar.gz |
vfs_aio_pthread: store conn instead of sconn in aio_open_private_data
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_aio_pthread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_aio_pthread.c b/source3/modules/vfs_aio_pthread.c index be74e77b433..44cbb476c6d 100644 --- a/source3/modules/vfs_aio_pthread.c +++ b/source3/modules/vfs_aio_pthread.c @@ -50,7 +50,7 @@ struct aio_open_private_data { bool in_progress; const char *fname; char *dname; - struct smbd_server_connection *sconn; + connection_struct *conn; const struct security_unix_token *ux_tok; uint64_t initial_allocation_size; /* Returns. */ @@ -111,7 +111,7 @@ static void aio_open_handle_completion(struct tevent_req *subreq) * to find the correct connection for a fsp. * For now we only have one connection, so this is correct... */ - xconn = opd->sconn->client->connections; + xconn = opd->conn->sconn->client->connections; /* Find outstanding event and reschedule. */ if (!schedule_deferred_open_message_smb(xconn, opd->mid)) { @@ -217,7 +217,7 @@ static struct aio_open_private_data *create_private_open_data(const files_struct .mode = mode, .mid = fsp->mid, .in_progress = true, - .sconn = fsp->conn->sconn, + .conn = fsp->conn, .initial_allocation_size = fsp->initial_allocation_size, }; |