summaryrefslogtreecommitdiff
path: root/source4/torture/gentest.c
diff options
context:
space:
mode:
authorSteven Danneman <steven.danneman@isilon.com>2009-11-18 17:51:35 -0800
committerSteven Danneman <steven.danneman@isilon.com>2009-11-25 12:55:48 -0800
commit7f14388721fdfdc4d5e3d36dd5071a0993695815 (patch)
tree90835e7c56a2afa97498c12384823bfdef649c29 /source4/torture/gentest.c
parent65a611ec7299ba992d16dff69da47b1b8e16241d (diff)
downloadsamba-7f14388721fdfdc4d5e3d36dd5071a0993695815.tar.gz
s4/libcli: rename previously reserved field in SMB2 LOCK struct
The lock.in.reserved field has been renamed lock_sequence in the SMB 2.1 dialect. See MS-SMB 2.2.26.
Diffstat (limited to 'source4/torture/gentest.c')
-rw-r--r--source4/torture/gentest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index 3d23ad85bc0..b0ab41cb3db 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -2661,7 +2661,7 @@ static bool handler_smb2_lock(int instance)
parm[0].level = RAW_LOCK_LOCKX;
parm[0].in.file.handle.data[0] = gen_fnum(instance);
parm[0].in.lock_count = gen_lock_count();
- parm[0].in.reserved = gen_reserved32();
+ parm[0].in.lock_sequence = gen_reserved32();
parm[0].in.locks = talloc_array(current_op.mem_ctx,
struct smb2_lock_element,