diff options
author | Volker Lendecke <vl@sernet.de> | 2007-12-05 20:53:22 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-10 12:22:01 +0100 |
commit | d60fac2a5a789680b6dd9f05ab15a3033ec2887c (patch) | |
tree | 18a22107352f58657179bfdd8c2bad81efebf180 /source3/torture/locktest2.c | |
parent | 0527d3758ad7522995e1e1cc85a3c1b9ee22de52 (diff) | |
download | samba-d60fac2a5a789680b6dd9f05ab15a3033ec2887c.tar.gz samba-d60fac2a5a789680b6dd9f05ab15a3033ec2887c.tar.bz2 samba-d60fac2a5a789680b6dd9f05ab15a3033ec2887c.zip |
Tiny simplifications
locking.c:open_read_only was unused
don't export the silly boolean flag locking_init(bool read_only)
(This used to be commit 2f3c865707010bc7c463a02782dbee3dc2479da1)
Diffstat (limited to 'source3/torture/locktest2.c')
-rw-r--r-- | source3/torture/locktest2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c index 45a957e3a4..b99fdbc093 100644 --- a/source3/torture/locktest2.c +++ b/source3/torture/locktest2.c @@ -558,7 +558,7 @@ static void usage(void) DEBUG(0,("seed=%u\n", seed)); srandom(seed); - locking_init(1); + locking_init_readonly(); test_locks(share1, share2, nfspath1, nfspath2); return(0); |