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 | e5c5adb197b29b729598a74929558cc5fcd37ce9 (patch) | |
tree | 204451c0b1ce2fc355fd7cbb91b62eb085e2d86a | |
parent | 7c74cc5cab1d9db431197192a44b5fc08e0412f1 (diff) | |
download | samba-e5c5adb197b29b729598a74929558cc5fcd37ce9.tar.gz samba-e5c5adb197b29b729598a74929558cc5fcd37ce9.tar.bz2 samba-e5c5adb197b29b729598a74929558cc5fcd37ce9.zip |
Don't scan locking db on closedown.
Jeremy.
(This used to be commit 59cfcd8a6c510204ac059a0d2fddc2fa17199f82)
-rw-r--r-- | source3/locking/locking.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index b551d8c6d6..023ec59e89 100644 --- a/source3/locking/locking.c +++ b/source3/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; |