s3:smbd: pass (raw) ev to SMB_VFS_GET_DOS_ATTRIBUTES_SEND() instead of smb_vfs_ev_glue
[nivanova/samba-autobuild/.git] / source3 / modules / vfs_full_audit.c
index 7dbb6e1e6281671d7ee607513189a1b723d92843..fcfb024d493a6a7721139ef83834e34664f1d3ee 100644 (file)
@@ -2141,12 +2141,11 @@ static void smb_full_audit_get_dos_attributes_done(struct tevent_req *subreq);
 
 static struct tevent_req *smb_full_audit_get_dos_attributes_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,
                struct smb_filename *smb_fname)
 {
-       struct tevent_context *ev = smb_vfs_ev_glue_ev_ctx(evg);
        struct tevent_req *req = NULL;
        struct smb_full_audit_get_dos_attributes_state *state = NULL;
        struct tevent_req *subreq = NULL;
@@ -2169,7 +2168,7 @@ static struct tevent_req *smb_full_audit_get_dos_attributes_send(
        };
 
        subreq = SMB_VFS_NEXT_GET_DOS_ATTRIBUTES_SEND(mem_ctx,
-                                                     evg,
+                                                     ev,
                                                      handle,
                                                      dir_fsp,
                                                      smb_fname);