]> git.ipfire.org Git - thirdparty/samba.git/commit
s3/smbd: replace get_ea_list_from_file_path with get_ea_list_from_fsp
authorNoel Power <noel.power@suse.com>
Wed, 10 Feb 2021 10:13:46 +0000 (10:13 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 26 Feb 2021 21:28:33 +0000 (21:28 +0000)
commitdf447afa5b0bbb1ffa02539a16735b2cd1a800fd
tree9c61a272c60c903937663f2aed32fc64b0bbb23c
parentb9ea876fa48fa324223c77bbd589ee5fff189961
s3/smbd: replace get_ea_list_from_file_path with get_ea_list_from_fsp

Additionally remove the old get_ea_list_from_file_path.

get_ea_list_from_file_path & new get_ea_list_from_fsp are identical
except for test for an addition test

+       if (is_ntfs_stream_smb_fname(fsp->fsp_name)) {
+               return NT_STATUS_INVALID_PARAMETER;
+       }

This test should should be fine here too.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/trans2.c