s3: smbd: get_ea_value(). If we have an fsp, *always* use it for SMB_VFS_FGETXATTR().
commit2dd7ac6a6eb88443a44564ad12799f05e8be764c
authorJeremy Allison <jra@samba.org>
Tue, 22 Jun 2021 18:26:59 +0000 (22 11:26 -0700)
committerRalph Boehme <slow@samba.org>
Fri, 25 Jun 2021 15:53:31 +0000 (25 15:53 +0000)
treea59c047430283e12cf2440e8814bfc7dae236e03
parentb63ac2ed97f92e1c435e72e8edaee00a8366a31d
s3: smbd: get_ea_value(). If we have an fsp, *always* use it for 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/trans2.c