1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3:smbd: change smb2_break.c to use fsp_fnum_dbg() for fsp->fnum logging.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Michael Adam 2012-06-14 13:11:58 +02:00 committed by Stefan Metzmacher
parent 65ea1e427d
commit 78b9e1afef

View File

@ -163,9 +163,9 @@ static struct tevent_req *smbd_smb2_oplock_break_send(TALLOC_CTX *mem_ctx,
state->smb2req = smb2req;
state->out_oplock_level = SMB2_OPLOCK_LEVEL_NONE;
DEBUG(10,("smbd_smb2_oplock_break_send: %s - fnum[%d] "
DEBUG(10,("smbd_smb2_oplock_break_send: %s - %s, "
"samba level %d\n",
fsp_str_dbg(fsp), fsp->fnum,
fsp_str_dbg(fsp), fsp_fnum_dbg(fsp),
oplocklevel));
smbreq = smbd_smb2_fake_smb_request(smb2req);
@ -174,10 +174,10 @@ static struct tevent_req *smbd_smb2_oplock_break_send(TALLOC_CTX *mem_ctx,
}
DEBUG(5,("smbd_smb2_oplock_break_send: got SMB2 oplock break (%u) from client "
"for file %s fnum = %d\n",
"for file %s, %s\n",
(unsigned int)in_oplock_level,
fsp_str_dbg(fsp),
fsp->fnum ));
fsp_fnum_dbg(fsp)));
/* Are we awaiting a break message ? */
if (fsp->oplock_timeout == NULL) {
@ -240,9 +240,9 @@ void send_break_message_smb2(files_struct *fsp, int level)
uint64_t fsp_persistent = fsp_persistent_id(fsp);
DEBUG(10,("send_break_message_smb2: sending oplock break "
"for file %s, fnum = %d, smb2 level %u\n",
"for file %s, %s, smb2 level %u\n",
fsp_str_dbg(fsp),
fsp->fnum,
fsp_fnum_dbg(fsp),
(unsigned int)smb2_oplock_level ));
status = smbd_smb2_send_oplock_break(fsp->conn->sconn,