mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
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-16-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-16-test): Tue Mar 29 10:21:03 UTC 2022 on sn-devel-184
This commit is contained in:
parent
e644e78306
commit
15035d82a5
@ -3256,8 +3256,6 @@ static struct vfs_fn_pointers vfs_shadow_copy2_fns = {
|
||||
.realpath_fn = shadow_copy2_realpath,
|
||||
.get_shadow_copy_data_fn = shadow_copy2_get_shadow_copy_data,
|
||||
.mkdirat_fn = shadow_copy2_mkdirat,
|
||||
.getxattrat_send_fn = vfs_not_implemented_getxattrat_send,
|
||||
.getxattrat_recv_fn = vfs_not_implemented_getxattrat_recv,
|
||||
.fsetxattr_fn = shadow_copy2_fsetxattr,
|
||||
.fchflags_fn = shadow_copy2_fchflags,
|
||||
.get_real_filename_fn = shadow_copy2_get_real_filename,
|
||||
|
Loading…
x
Reference in New Issue
Block a user