summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/brlock.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index e7fa4022f6..abc20c8f0f 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -232,10 +232,6 @@ void brl_init(int read_only)
DEBUG(0,("Failed to open byte range locking database\n"));
return;
}
-
- /* delete any dead locks */
- if (!read_only)
- tdb_traverse(tdb, delete_fn, &check_self);
}
/****************************************************************************
@@ -249,10 +245,6 @@ void brl_shutdown(int read_only)
if (!tdb)
return;
- /* delete any dead locks */
- if (!read_only)
- tdb_traverse(tdb, delete_fn, &check_self);
-
tdb_close(tdb);
}