summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-28 10:02:01 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-28 12:41:48 +0200
commitd7d1bb9444ab89c2fd922a8120eb5b21d06d0c54 (patch)
tree15a172b1592814e2f2e6eabde0fe8f3eb4b6c3b6
parent66fa891d2d041652ecde02b53186802137ce3b02 (diff)
downloadsamba-d7d1bb9444ab89c2fd922a8120eb5b21d06d0c54.tar.gz
samba-d7d1bb9444ab89c2fd922a8120eb5b21d06d0c54.tar.bz2
samba-d7d1bb9444ab89c2fd922a8120eb5b21d06d0c54.zip
s3:smb2_create: add usefull DEBUG() message
All calls which take an file handle have the same, so we should also log it, when we create a handle. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 28 12:41:49 CEST 2012 on sn-devel-104
-rw-r--r--source3/smbd/smb2_create.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index f540377dcc..b729ebfecd 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -826,6 +826,9 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
state->out_file_id_volatile = result->fnum;
state->out_context_blobs = out_context_blobs;
+ DEBUG(10,("smbd_smb2_create_send: %s - %s\n",
+ fsp_str_dbg(result), fsp_fnum_dbg(result)));
+
tevent_req_done(req);
return tevent_req_post(req, ev);
}