mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3-torture: locktest2: replace cli_lock() with cli_lock32()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
b6e9866c54
commit
23b417b4c0
@ -114,7 +114,8 @@ static bool try_lock(struct cli_state *c, int fstype,
|
||||
|
||||
switch (fstype) {
|
||||
case FSTYPE_SMB:
|
||||
return cli_lock(c, fd, start, len, LOCK_TIMEOUT, op);
|
||||
return NT_STATUS_IS_OK(cli_lock32(c, fd, start, len,
|
||||
LOCK_TIMEOUT, op));
|
||||
|
||||
case FSTYPE_NFS:
|
||||
lock.l_type = (op==READ_LOCK) ? F_RDLCK:F_WRLCK;
|
||||
|
Loading…
Reference in New Issue
Block a user