summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-20 13:51:52 +0100
committerVolker Lendecke <vl@samba.org>2008-01-20 13:51:52 +0100
commita39771d3d20280b289478da758089a1035415d65 (patch)
tree1a5e45db65d645817cebce81bd043b260e6603cb /source3
parenta6fcaf73d7ae238283cd107260ae215d31b05ac4 (diff)
downloadsamba-a39771d3d20280b289478da758089a1035415d65.tar.gz
samba-a39771d3d20280b289478da758089a1035415d65.tar.bz2
samba-a39771d3d20280b289478da758089a1035415d65.zip
For pread/pwrite we need to do the setxattr on base_fsp
(This used to be commit d481dddc81699aba79e48bca79bfb10e586b5cbb)
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_streams_xattr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c
index 104ed638db..7d7ec02fe7 100644
--- a/source3/modules/vfs_streams_xattr.c
+++ b/source3/modules/vfs_streams_xattr.c
@@ -576,8 +576,8 @@ static ssize_t streams_xattr_pwrite(vfs_handle_struct *handle,
return SMB_VFS_NEXT_PWRITE(handle, fsp, data, n, offset);
}
- status = get_ea_value(talloc_tos(), handle->conn, fsp, sio->base,
- sio->xattr_name, &ea);
+ status = get_ea_value(talloc_tos(), handle->conn, fsp->base_fsp,
+ sio->base, sio->xattr_name, &ea);
if (!NT_STATUS_IS_OK(status)) {
return -1;
}
@@ -622,8 +622,8 @@ static ssize_t streams_xattr_pread(vfs_handle_struct *handle,
return SMB_VFS_NEXT_PREAD(handle, fsp, data, n, offset);
}
- status = get_ea_value(talloc_tos(), handle->conn, fsp, sio->base,
- sio->xattr_name, &ea);
+ status = get_ea_value(talloc_tos(), handle->conn, fsp->base_fsp,
+ sio->base, sio->xattr_name, &ea);
if (!NT_STATUS_IS_OK(status)) {
return -1;
}