]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: default: Add 'handle' member to struct vfswrap_getxattrat_state
authorJeremy Allison <jra@samba.org>
Wed, 14 Jul 2021 18:35:06 +0000 (11:35 -0700)
committerRalph Boehme <slow@samba.org>
Thu, 15 Jul 2021 05:02:30 +0000 (05:02 +0000)
Not yet used.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14758

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

index e9bd247155643b7ac699aa4dbbacc10473c11de0..9d7c0539528dcc985fd91deb6535097a7d9d4b5c 100644 (file)
@@ -3457,6 +3457,7 @@ static ssize_t vfswrap_fgetxattr(struct vfs_handle_struct *handle,
 
 struct vfswrap_getxattrat_state {
        struct tevent_context *ev;
+       struct vfs_handle_struct *handle;
        files_struct *dir_fsp;
        const struct smb_filename *smb_fname;
 
@@ -3509,6 +3510,7 @@ static struct tevent_req *vfswrap_getxattrat_send(
        }
        *state = (struct vfswrap_getxattrat_state) {
                .ev = ev,
+               .handle = handle,
                .dir_fsp = dir_fsp,
                .smb_fname = smb_fname,
        };