mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
parent
224c40a523
commit
6a0590d709
@ -117,7 +117,8 @@ static int rw_torture(int numops)
|
|||||||
int pid2, pid = getpid();
|
int pid2, pid = getpid();
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
fnum2 = cli_open(&cli, lockfname, O_RDWR | O_EXCL, DENY_NONE);
|
fnum2 = cli_open(&cli, lockfname, O_RDWR | O_CREAT | O_EXCL,
|
||||||
|
DENY_NONE);
|
||||||
if (fnum2 == -1)
|
if (fnum2 == -1)
|
||||||
fnum2 = cli_open(&cli, lockfname, O_RDWR, DENY_NONE);
|
fnum2 = cli_open(&cli, lockfname, O_RDWR, DENY_NONE);
|
||||||
if (fnum2 == -1) {
|
if (fnum2 == -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user