s3:smb2_server: use req->xconn in is_smb2_recvfile_write()
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Jun 2014 09:41:27 +0000 (11:41 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 6 Aug 2014 07:51:13 +0000 (09:51 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/smb2_server.c

index e8a783acbfcee634952cd6d2c0bc37899a4cc55b..3de78b022f7f74071a809aa71d862b068d627a09 100644 (file)
@@ -2919,7 +2919,7 @@ static bool is_smb2_recvfile_write(struct smbd_smb2_request_read_state *state)
        file_id_persistent      = BVAL(body, 0x10);
        file_id_volatile        = BVAL(body, 0x18);
 
-       status = smb2srv_open_lookup(state->req->sconn->conn,
+       status = smb2srv_open_lookup(state->req->xconn,
                                     file_id_persistent,
                                     file_id_volatile,
                                     0, /* now */