s3:smbXsrv_tcon: don't pass smbXsrv_connection to smbXsrv_tcon_create()
authorStefan Metzmacher <metze@samba.org>
Thu, 12 Jun 2014 08:40:12 +0000 (10:40 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 6 Aug 2014 07:51:14 +0000 (09:51 +0200)
commit4dbe105d51a6ee230d75fb799f2f7fe3e4d5e6d0
treed4d19a67682327bf401f7eaec0286f20cc96e0d0
parent6905bb6c868e33ef399a7b9a0a87b0497dbde43b
s3:smbXsrv_tcon: don't pass smbXsrv_connection to smbXsrv_tcon_create()

A tcon can be used on multiple connections in future,
so better pass the few needed parameters explicitly
and let the caller figure out where to get them.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/smbXsrv_tcon.c