summaryrefslogtreecommitdiff
path: root/source4/smb_server
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/smb_server
parent65a611ec7299ba992d16dff69da47b1b8e16241d (diff)
downloadsamba-7f14388721fdfdc4d5e3d36dd5071a0993695815.tar.gz
samba-7f14388721fdfdc4d5e3d36dd5071a0993695815.tar.bz2
samba-7f14388721fdfdc4d5e3d36dd5071a0993695815.zip
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/smb_server')
-rw-r--r--source4/smb_server/smb2/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/fileio.c b/source4/smb_server/smb2/fileio.c
index 497a6c531b..26d0a3e8e0 100644
--- a/source4/smb_server/smb2/fileio.c
+++ b/source4/smb_server/smb2/fileio.c
@@ -345,7 +345,7 @@ void smb2srv_lock_recv(struct smb2srv_request *req)
io->smb2.level = RAW_LOCK_SMB2;
io->smb2.in.lock_count = SVAL(req->in.body, 0x02);
- io->smb2.in.reserved = IVAL(req->in.body, 0x04);
+ io->smb2.in.lock_sequence = IVAL(req->in.body, 0x04);
io->smb2.in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x08);
if (req->in.body_size < 24 + 24*(uint64_t)io->smb2.in.lock_count) {
DEBUG(0,("%s: lock buffer too small\n", __location__));