summaryrefslogtreecommitdiffstats
path: root/source/locking/locking.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-16 11:14:44 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-16 11:14:44 +0000
commit5f022629146701e6d543f77007dc944e4277ab0c (patch)
tree0702f9156f73e6adedb1d330974fd95caafd5f50 /source/locking/locking.c
parent10d9d81e8b7eba588526a5d479be74ce8f86fc55 (diff)
downloadsamba-5f022629146701e6d543f77007dc944e4277ab0c.tar.gz
samba-5f022629146701e6d543f77007dc944e4277ab0c.tar.xz
samba-5f022629146701e6d543f77007dc944e4277ab0c.zip
added code to allow traversal of the byte range lock database
this is used with "smbstatus -B" to dump the lock list
Diffstat (limited to 'source/locking/locking.c')
-rw-r--r--source/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/locking/locking.c b/source/locking/locking.c
index 5348659917c..9753b5ea615 100644
--- a/source/locking/locking.c
+++ b/source/locking/locking.c
@@ -145,7 +145,7 @@ BOOL do_unlock(files_struct *fsp,connection_struct *conn,
****************************************************************************/
BOOL locking_init(int read_only)
{
- brl_init();
+ brl_init(read_only);
if (tdb) return True;