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