git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b86a0a
)
s3: Add some debugs to streams_xattr
author
Volker Lendecke
<vl@samba.org>
Wed, 16 Sep 2009 01:15:53 +0000
(
03:15
+0200)
committer
Volker Lendecke
<vl@samba.org>
Wed, 16 Sep 2009 01:42:36 +0000
(
03:42
+0200)
source3/modules/vfs_streams_xattr.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_streams_xattr.c
b/source3/modules/vfs_streams_xattr.c
index 033d0272c2526c7193b7faefd9e6a0e6cf470314..ae8af47ab732cf3f0807039d7afaab1fd4accd3d 100644
(file)
--- 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;