diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_streams_xattr.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c index 780b0d76d26..447b6a1396f 100644 --- a/source3/modules/vfs_streams_xattr.c +++ b/source3/modules/vfs_streams_xattr.c @@ -1280,8 +1280,12 @@ static int streams_xattr_ftruncate(struct vfs_handle_struct *handle, return -1; } - status = get_ea_value(talloc_tos(), handle->conn, NULL, - smb_fname_base, sio->xattr_name, &ea); + status = get_ea_value(talloc_tos(), + handle->conn, + fsp->base_fsp, + NULL, + sio->xattr_name, + &ea); if (!NT_STATUS_IS_OK(status)) { return -1; } |