mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
vfs_streams_xattr: always pass NULL as fsp arg to get_ea_value()
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12791 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
4cc59e6d01
commit
0ed3075ee7
@ -747,7 +747,7 @@ static NTSTATUS walk_xattr_streams(vfs_handle_struct *handle,
|
||||
|
||||
status = get_ea_value(names,
|
||||
handle->conn,
|
||||
fsp,
|
||||
NULL,
|
||||
smb_fname,
|
||||
names[i],
|
||||
&ea);
|
||||
@ -971,7 +971,7 @@ static ssize_t streams_xattr_pwrite(vfs_handle_struct *handle,
|
||||
return -1;
|
||||
}
|
||||
|
||||
status = get_ea_value(talloc_tos(), handle->conn, fsp,
|
||||
status = get_ea_value(talloc_tos(), handle->conn, NULL,
|
||||
smb_fname_base, sio->xattr_name, &ea);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return -1;
|
||||
@ -1041,7 +1041,7 @@ static ssize_t streams_xattr_pread(vfs_handle_struct *handle,
|
||||
return -1;
|
||||
}
|
||||
|
||||
status = get_ea_value(talloc_tos(), handle->conn, fsp,
|
||||
status = get_ea_value(talloc_tos(), handle->conn, NULL,
|
||||
smb_fname_base, sio->xattr_name, &ea);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return -1;
|
||||
@ -1258,7 +1258,7 @@ static int streams_xattr_ftruncate(struct vfs_handle_struct *handle,
|
||||
return -1;
|
||||
}
|
||||
|
||||
status = get_ea_value(talloc_tos(), handle->conn, fsp,
|
||||
status = get_ea_value(talloc_tos(), handle->conn, NULL,
|
||||
smb_fname_base, sio->xattr_name, &ea);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user