mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
smbd:smb2: move op variable into scope of use in smb2_create_send
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
2fd54b5332
commit
272d06d40b
@ -474,7 +474,6 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
|
||||
struct smb2_create_blob *dhnq = NULL;
|
||||
struct smb2_create_blob *dh2q = NULL;
|
||||
struct smb2_create_blob *rqls = NULL;
|
||||
struct smbXsrv_open *op = NULL;
|
||||
bool replay_operation = false;
|
||||
|
||||
if(lp_fake_oplocks(SNUM(smb2req->tcon->compat))) {
|
||||
@ -670,6 +669,7 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
|
||||
struct smb2_lease *lease_ptr = NULL;
|
||||
ssize_t lease_len = -1;
|
||||
bool need_replay_cache = false;
|
||||
struct smbXsrv_open *op = NULL;
|
||||
#if 0
|
||||
struct smb2_create_blob *svhdx = NULL;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user