s3:vfs:aio_pthread: use smbXsrv_connection for schedule_deferred_open_message_smb
authorMichael Adam <obnox@samba.org>
Tue, 21 Oct 2014 08:46:56 +0000 (10:46 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 23 Oct 2014 21:10:35 +0000 (23:10 +0200)
commit0fbd854204b29ee4315519f64311e0923b88876a
treee93b928459c012a2ee5ecfbad9c355d9a96a8a69
parent95bf43bc6a0b6a4a47b8a556eee3b78446ea4123
s3:vfs:aio_pthread: use smbXsrv_connection for schedule_deferred_open_message_smb

This fixes an incompatible pointer warning which uncovered
a real bug. This caller was missed when converting the function.

This fix is only temporary, since we use fsp->sconn->client->connections
which is supposed to be the start of the list of transport connections
by a given client treated by this smbd process. Currently there is only
one such connection, but with multi-channel there might be more. So
we will need to improve this in the future.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Oct 23 23:10:35 CEST 2014 on sn-devel-104
source3/modules/vfs_aio_pthread.c