diff options
author | Jeremy Allison <jra@samba.org> | 2010-04-08 22:15:55 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-04-08 22:15:55 -0700 |
commit | 08b24e923dff99d3d3c0618903a7ed2959640470 (patch) | |
tree | acfc07cc9c3aec2d1d78287b4fc58dbe143de627 /source3/smbd/process.c | |
parent | 3491f6d119d1f4c7e0a259a9993ce96783b77e23 (diff) | |
download | samba-08b24e923dff99d3d3c0618903a7ed2959640470.tar.gz samba-08b24e923dff99d3d3c0618903a7ed2959640470.tar.bz2 samba-08b24e923dff99d3d3c0618903a7ed2959640470.zip |
Stop smb2 from calling into smb1 blocking lock request code.
Allocate a uint16_t internal SMB1 mid for an SMB2 request.
Add a back pointer from the faked up smb_request struct
to the smb2 request.
Getting ready to add restart code for blocking locks,
share mode violations and oplocks in SMB2.
Jeremy.
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r-- | source3/smbd/process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 3e5cee83c5..ddafdff3a2 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -467,6 +467,7 @@ static bool init_smb_request(struct smb_request *req, const uint8 *inbuf, req->chain_fsp = NULL; req->chain_outbuf = NULL; req->done = false; + req->smb2req = NULL; smb_init_perfcount_data(&req->pcd); /* Ensure we have at least wct words and 2 bytes of bcc. */ |