s3:smbd: reorder tcon global record deletion and closing files of a tcon
commitb5d78343fb26ade4783e214c877ea837910e5d8e
authorRalph Boehme <slow@samba.org>
Thu, 30 Aug 2018 13:50:02 +0000 (30 15:50 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 4 Sep 2018 10:14:43 +0000 (4 12:14 +0200)
treeb1692d1605a7ffbe9a413894e84888f7ff8ac6ad
parentc77edea016b1df8357dfe273a2688612a51ade4b
s3:smbd: reorder tcon global record deletion and closing files of a tcon

As such, this doesn't change overall behaviour, but in case we ever add
semantics acting on tcon record changes via an API like
dbwrap_watch_send(), this will make a difference as it enforces
ordering.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13549

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit b70b8503faded81b10859131f08486349876d132)
source3/smbd/smbXsrv_tcon.c