mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
fbd97ee822
If we set e->stale=true in the share_mode_forall_entries() callback, the share entry will be removed directly. Thus further down share_mode_forall_leases() won't find anything anymore. Only find possibly still connected entries in the first walk, and then remove the share_entries.tdb record straight away after the leases and brlocks have been removed. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Dec 10 21:57:05 UTC 2019 on sn-devel-184 |
||
---|---|---|
.. | ||
brlock.c | ||
leases_db.c | ||
leases_db.h | ||
leases_util.c | ||
locking.c | ||
posix.c | ||
proto.h | ||
share_mode_lock.c |