s3:smbd: reorder tcon global record deletion and closing files of a tcon
authorRalph Boehme <slow@samba.org>
Thu, 30 Aug 2018 13:50:02 +0000 (15:50 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Sep 2018 11:31:44 +0000 (13:31 +0200)
commitd36fbe95e57fe8a044703e7eee1d7401d1baa6e0
tree17eb03a43c5205768c19b7720944115eaa3c1b78
parente667b1771584b37b59ceab20cddced3615cf7b8f
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