vfs_shadow_copy2: remove async getxattrat
authorRalph Boehme <slow@samba.org>
Wed, 23 Feb 2022 10:36:29 +0000 (11:36 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 28 Feb 2022 20:53:35 +0000 (20:53 +0000)
commitafc2103da0fe947afc027b3e25c5e82aa5d3f1fb
tree2f36ca701ee1bb60b9405f2a07598609c074ca80
parent1097b1d0776661d873861672ca38e5892014725d
vfs_shadow_copy2: remove async getxattrat

vfswrap_getxattrat_send() is handle based using smb_fname->fsp. As
the open of smb_fname->fsp was processed by this module, the handle
is already correctly opened on the file in the snapshot. In the end
this means we can just call directly call the next function here.

Note that the same reasoning might apply to other modules that use
vfs_not_implemented_getxattrat_send(), but checking and adjusting those is a job
for another day. Currently they will continue to go via the sync fallback of the
caller.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Feb 28 20:53:35 UTC 2022 on sn-devel-184
source3/modules/vfs_shadow_copy2.c