mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:smb2_lock: make use of smbd_smb2_generate_outbody()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
2ddfe40425
commit
aa70bf5fdc
@ -146,7 +146,7 @@ static void smbd_smb2_request_lock_done(struct tevent_req *subreq)
|
||||
return;
|
||||
}
|
||||
|
||||
outbody = data_blob_talloc(smb2req->out.vector, NULL, 0x04);
|
||||
outbody = smbd_smb2_generate_outbody(smb2req, 0x04);
|
||||
if (outbody.data == NULL) {
|
||||
error = smbd_smb2_request_error(smb2req, NT_STATUS_NO_MEMORY);
|
||||
if (!NT_STATUS_IS_OK(error)) {
|
||||
|
Loading…
Reference in New Issue
Block a user