summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/smb2_read.c')
-rw-r--r--source3/smbd/smb2_read.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c
index 3f316e0b71..674fa2b71f 100644
--- a/source3/smbd/smb2_read.c
+++ b/source3/smbd/smb2_read.c
@@ -275,6 +275,14 @@ static struct tevent_req *smbd_smb2_read_send(TALLOC_CTX *mem_ctx,
SMB_VFS_STRICT_UNLOCK(conn, fsp, &lock);
+ DEBUG(10,("smbd_smb2_read: file %s handle [0x%016llX] offset=%llu "
+ "len=%llu returned %lld\n",
+ fsp_str_dbg(fsp),
+ (unsigned long long)in_file_id_volatile,
+ (unsigned long long)in_offset,
+ (unsigned long long)in_length,
+ (long long)nread));
+
if (nread < 0) {
DEBUG(5,("smbd_smb2_read: read_file[%s] nread[%lld]\n",
fsp_str_dbg(fsp), (long long)nread));