s3:smbd: let SMB_VFS_GETXATTRAT_SEND() do explicit impersonation
[kai/samba-autobuild/.git] / examples / VFS / skel_opaque.c
index 054de50197e3bb754a7034c2234a0f63fd465893..b3cd83a3e42aa0e0901947dcf8dff11f2e6b7c7d 100644 (file)
@@ -873,14 +873,13 @@ struct skel_getxattrat_state {
 
 static struct tevent_req *skel_getxattrat_send(
                        TALLOC_CTX *mem_ctx,
-                       const struct smb_vfs_ev_glue *evg,
+                       struct tevent_context *ev,
                        struct vfs_handle_struct *handle,
                        files_struct *dir_fsp,
                        const struct smb_filename *smb_fname,
                        const char *xattr_name,
                        size_t alloc_hint)
 {
-       struct tevent_context *ev = smb_vfs_ev_glue_ev_ctx(evg);
        struct tevent_req *req = NULL;
        struct skel_getxattrat_state *state = NULL;