vfs_shadow_copy2: remove async getxattrat
authorRalph Boehme <slow@samba.org>
Wed, 23 Feb 2022 10:36:29 +0000 (11:36 +0100)
committerJule Anger <janger@samba.org>
Tue, 29 Mar 2022 09:08:10 +0000 (09:08 +0000)
commit2f5c7c5621c48b42844bfb0aebdfbb417dfc5aaa
treef3853c44398e6b29b2dac8500bd8f00e202a1a36
parentd50307e09b9caa133a2d17ad7227612815181fcd
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

(cherry picked from commit afc2103da0fe947afc027b3e25c5e82aa5d3f1fb)

Autobuild-User(v4-15-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-15-test): Tue Mar 29 09:08:10 UTC 2022 on sn-devel-184
source3/modules/vfs_shadow_copy2.c