diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-20 13:51:52 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-20 13:51:52 +0100 |
commit | d481dddc81699aba79e48bca79bfb10e586b5cbb (patch) | |
tree | ea0cdc5898cebb5462a7450d3d8b210df112be67 | |
parent | c1794375d1fa27d72ec32946bb4bd7b9f96e59fc (diff) | |
download | samba-d481dddc81699aba79e48bca79bfb10e586b5cbb.tar.gz samba-d481dddc81699aba79e48bca79bfb10e586b5cbb.tar.xz samba-d481dddc81699aba79e48bca79bfb10e586b5cbb.zip |
For pread/pwrite we need to do the setxattr on base_fsp
-rw-r--r-- | source/modules/vfs_streams_xattr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/modules/vfs_streams_xattr.c b/source/modules/vfs_streams_xattr.c index 104ed638dbb..7d7ec02fe72 100644 --- a/source/modules/vfs_streams_xattr.c +++ b/source/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; } |