summaryrefslogtreecommitdiff
path: root/source/locking/locking.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/locking/locking.c')
-rw-r--r--source/locking/locking.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/locking/locking.c b/source/locking/locking.c
index b551d8c6d6b..023ec59e892 100644
--- a/source/locking/locking.c
+++ b/source/locking/locking.c
@@ -310,15 +310,19 @@ BOOL locking_init(int read_only)
BOOL locking_end(void)
{
+#if 0
BOOL check_self = True;
+#endif
brl_shutdown(open_read_only);
if (tdb) {
/* delete any dead locks */
+#if 0 /* Don't scan on close. */
if (!open_read_only)
tdb_traverse(tdb, delete_fn, &check_self);
+#endif
if (tdb_close(tdb) != 0)
return False;