From 48e0c62053d84b8493b3b04bfd1898cee122097e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 29 May 2007 18:32:49 +0000 Subject: r23222: share_mode_forall() is only for counting and status display stuff, so traverse_read is enough here (This used to be commit 40991badef046233326815e50097aa7f493790e8) --- source3/locking/locking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit