SMB_VFS_HANDLE_GET_DATA(handle, config, struct streams_xattr_config,
return NT_STATUS_UNSUCCESSFUL);
- status = get_ea_names_from_file(talloc_tos(),
+ status = get_ea_names_from_fsp(talloc_tos(),
smb_fname->fsp,
&names,
&num_names);
if (lp_ea_support(SNUM(conn))) {
size_t num_names = 0;
/* Do we have any EA's ? */
- status = get_ea_names_from_file(
+ status = get_ea_names_from_fsp(
ctx, smb_fname->fsp, NULL, &num_names);
if (NT_STATUS_IS_OK(status) && num_names) {
file_status &= ~NO_EAS;
if (lp_ea_support(SNUM(conn))) {
size_t num_names = 0;
/* Do we have any EA's ? */
- status = get_ea_names_from_file(
+ status = get_ea_names_from_fsp(
ctx, smb_fname->fsp, NULL, &num_names);
if (NT_STATUS_IS_OK(status) && num_names) {
file_status &= ~NO_EAS;
files_struct *fsp,
const char *ea_name,
struct ea_struct *pea);
-NTSTATUS get_ea_names_from_file(TALLOC_CTX *mem_ctx,
+NTSTATUS get_ea_names_from_fsp(TALLOC_CTX *mem_ctx,
files_struct *fsp,
char ***pnames,
size_t *pnum_names);
return NT_STATUS_OK;
}
-NTSTATUS get_ea_names_from_file(TALLOC_CTX *mem_ctx,
+NTSTATUS get_ea_names_from_fsp(TALLOC_CTX *mem_ctx,
files_struct *fsp,
char ***pnames,
size_t *pnum_names)
posix_pathnames = (fsp->fsp_name->flags & SMB_FILENAME_POSIX_PATH);
- status = get_ea_names_from_file(talloc_tos(),
+ status = get_ea_names_from_fsp(talloc_tos(),
fsp,
&names,
&num_names);