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)
committerJeremy Allison <jra@samba.org>
Fri, 31 Aug 2018 20:22:23 +0000 (22:22 +0200)
commitb70b8503faded81b10859131f08486349876d132
treeb07659d326bbd8942d39a029ddc2ea51ecde5021
parent5508024a861e7c85e6c837552ad142aa1d5e8eca
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>
source3/smbd/smbXsrv_tcon.c