summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index c02304addf..47566e0393 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -1404,5 +1404,5 @@ int share_mode_forall(void (*fn)(const struct share_mode_entry *, const char *,
state.fn = fn;
state.private_data = private_data;
- return lock_db->traverse(lock_db, traverse_fn, (void *)&state);
+ return lock_db->traverse_read(lock_db, traverse_fn, (void *)&state);
}