diff options
author | Jeremy Allison <jra@samba.org> | 2001-11-21 04:00:35 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-11-21 04:00:35 +0000 |
commit | 59cfcd8a6c510204ac059a0d2fddc2fa17199f82 (patch) | |
tree | 4e348c91ba47ddbd9a591630681a25adcea35b40 /source/locking | |
parent | 7ac404c85303c9c3fbd48054fc4876bd4bc1567b (diff) | |
download | samba-59cfcd8a6c510204ac059a0d2fddc2fa17199f82.tar.gz |
Don't scan locking db on closedown.
Jeremy.
Diffstat (limited to 'source/locking')
-rw-r--r-- | source/locking/locking.c | 4 |
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; |