summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-29 18:32:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:56 -0500
commit48e0c62053d84b8493b3b04bfd1898cee122097e (patch)
treed8250bbf5ac758f445f4737b0ab3cc0c0ebacaae
parent3a931bc8fc32c7578095e4ebd80e5cfcf9f978ef (diff)
downloadsamba-48e0c62053d84b8493b3b04bfd1898cee122097e.tar.gz
samba-48e0c62053d84b8493b3b04bfd1898cee122097e.tar.bz2
samba-48e0c62053d84b8493b3b04bfd1898cee122097e.zip
r23222: share_mode_forall() is only for counting and status display stuff, so
traverse_read is enough here (This used to be commit 40991badef046233326815e50097aa7f493790e8)
-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);
}