s3: smbd: fload_inherited_info(). Always use SMB_VFS_FGETXATTR().
authorJeremy Allison <jra@samba.org>
Tue, 22 Jun 2021 18:40:31 +0000 (11:40 -0700)
committerRalph Boehme <slow@samba.org>
Fri, 25 Jun 2021 15:53:31 +0000 (15:53 +0000)
commit757b7d5c6ae830975513a95296c6faf160cd04f3
tree608455a604661243f729ce0e56f4e553b33973c8
parentf694b36335ef650b9eee6666b10ae3aafd7bee7d
s3: smbd: fload_inherited_info(). Always use SMB_VFS_FGETXATTR().

If the underlying fd is -1, we want this to fail with EBADF.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/posix_acls.c