summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-09-16 03:15:53 +0200
committerVolker Lendecke <vl@samba.org>2009-09-16 03:42:36 +0200
commit00d7aad85a594c123d4f00dd7eb15357ed7f3495 (patch)
tree32df8f493ecbb8509a42df90304180685edcd6d1 /source3
parent5b86a0ac013173e9d00f2f1476fb3ee54463e930 (diff)
downloadsamba-00d7aad85a594c123d4f00dd7eb15357ed7f3495.tar.gz
samba-00d7aad85a594c123d4f00dd7eb15357ed7f3495.tar.bz2
samba-00d7aad85a594c123d4f00dd7eb15357ed7f3495.zip
s3: Add some debugs to streams_xattr
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_streams_xattr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c
index 033d0272c2..ae8af47ab7 100644
--- a/source3/modules/vfs_streams_xattr.c
+++ b/source3/modules/vfs_streams_xattr.c
@@ -916,6 +916,9 @@ static ssize_t streams_xattr_pread(vfs_handle_struct *handle,
NTSTATUS status;
size_t length, overlap;
+ DEBUG(10, ("streams_xattr_pread: offset=%d, size=%d\n",
+ (int)offset, (int)n));
+
if (sio == NULL) {
return SMB_VFS_NEXT_PREAD(handle, fsp, data, n, offset);
}
@@ -932,6 +935,9 @@ static ssize_t streams_xattr_pread(vfs_handle_struct *handle,
length = ea.value.length-1;
+ DEBUG(10, ("streams_xattr_pread: get_ea_value returned %d bytes\n",
+ (int)length));
+
/* Attempt to read past EOF. */
if (length <= offset) {
errno = EINVAL;