s4/libcli: rename previously reserved field in SMB2 LOCK struct
[sfrench/samba-autobuild/.git] / source4 / smb_server / smb2 / fileio.c
index 497a6c531b2149f13eee9b73cca323407c7644d9..26d0a3e8e04868b3e41618eed58e2e9d1aa577c8 100644 (file)
@@ -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__));