s3:smbd: reorder tcon global record deletion and closing files of a tcon
commit51253045e827c14b14d527d1c48d037d8002588f
authorRalph Boehme <slow@samba.org>
Thu, 30 Aug 2018 13:50:02 +0000 (30 15:50 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Sep 2018 11:35:27 +0000 (5 13:35 +0200)
tree8dad18a0a4abe31a8c18e9399c455e852afaa90c
parent6a179a5a9a8d790260c0285aaf4b5faed65a5aa3
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>
(backported from commit b70b8503faded81b10859131f08486349876d132)
source3/smbd/smbXsrv_tcon.c