mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +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> (cherry picked from commit 272d06d40b7338de7db8954192f42c7340753920) BUG: https://bugzilla.samba.org/show_bug.cgi?id=11779
This commit is contained in:
parent
8743f5b9a6
commit
2a80859025
@ -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 *dhnq = NULL;
|
||||||
struct smb2_create_blob *dh2q = NULL;
|
struct smb2_create_blob *dh2q = NULL;
|
||||||
struct smb2_create_blob *rqls = NULL;
|
struct smb2_create_blob *rqls = NULL;
|
||||||
struct smbXsrv_open *op = NULL;
|
|
||||||
bool replay_operation = false;
|
bool replay_operation = false;
|
||||||
|
|
||||||
if(lp_fake_oplocks(SNUM(smb2req->tcon->compat))) {
|
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;
|
struct smb2_lease *lease_ptr = NULL;
|
||||||
ssize_t lease_len = -1;
|
ssize_t lease_len = -1;
|
||||||
bool need_replay_cache = false;
|
bool need_replay_cache = false;
|
||||||
|
struct smbXsrv_open *op = NULL;
|
||||||
#if 0
|
#if 0
|
||||||
struct smb2_create_blob *svhdx = NULL;
|
struct smb2_create_blob *svhdx = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user