summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-14 13:11:58 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-15 03:28:15 +0200
commit78b9e1afef96b7dc2abd1a3a535d95bf941f688d (patch)
tree804cde2cca9a2d9a72a296f789245d7b1bc5a91b
parent65ea1e427d16eb12cdd12a693e74de69d2c7de58 (diff)
downloadsamba-78b9e1afef96b7dc2abd1a3a535d95bf941f688d.tar.gz
samba-78b9e1afef96b7dc2abd1a3a535d95bf941f688d.tar.bz2
samba-78b9e1afef96b7dc2abd1a3a535d95bf941f688d.zip
s3:smbd: change smb2_break.c to use fsp_fnum_dbg() for fsp->fnum logging.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/smbd/smb2_break.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/smbd/smb2_break.c b/source3/smbd/smb2_break.c
index 9318068699..bf84b3a563 100644
--- a/source3/smbd/smb2_break.c
+++ b/source3/smbd/smb2_break.c
@@ -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,