From 56dee840e48c327b0d2136f1d7dd36c63f439f7e Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Fri, 28 Dec 2018 12:12:20 +0100 Subject: s3:smbd: pass (raw) ev to SMB_VFS_GET_DOS_ATTRIBUTES_SEND() instead of smb_vfs_ev_glue This also removes smb_vfs_ev_glue_[push|pop]_use() as the only caller got removed. Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- examples/VFS/skel_opaque.c | 3 +-- examples/VFS/skel_transparent.c | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index b3cd83a3e42..6510ef30d6f 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -714,12 +714,11 @@ struct skel_get_dos_attributes_state { static struct tevent_req *skel_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 skel_get_dos_attributes_state *state = NULL; diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 4e978577837..fc892a23208 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -895,12 +895,11 @@ static void skel_get_dos_attributes_done(struct tevent_req *subreq); static struct tevent_req *skel_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 skel_get_dos_attributes_state *state = NULL; struct tevent_req *subreq = NULL; @@ -912,7 +911,7 @@ static struct tevent_req *skel_get_dos_attributes_send( } subreq = SMB_VFS_NEXT_GET_DOS_ATTRIBUTES_SEND(mem_ctx, - evg, + ev, handle, dir_fsp, smb_fname); -- cgit v1.2.1