diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-18 10:24:12 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 23:47:59 +0100 |
commit | 9ececaae5c13216ce9e29eebb0fad0d7a0e2ab90 (patch) | |
tree | 64d65bb8a47376c7983d87be6f9e0715f2c92ed4 /source3 | |
parent | b7a925f56bb03aa80b043bb355203670edd75628 (diff) | |
download | samba-9ececaae5c13216ce9e29eebb0fad0d7a0e2ab90.tar.gz samba-9ececaae5c13216ce9e29eebb0fad0d7a0e2ab90.tar.bz2 samba-9ececaae5c13216ce9e29eebb0fad0d7a0e2ab90.zip |
s3:modules: s/struct fd_event/struct tevent_fd
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_aio_linux.c | 6 | ||||
-rw-r--r-- | source3/modules/vfs_aio_pthread.c | 6 | ||||
-rw-r--r-- | source3/modules/vfs_notify_fam.c | 4 | ||||
-rw-r--r-- | source3/modules/vfs_preopen.c | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/source3/modules/vfs_aio_linux.c b/source3/modules/vfs_aio_linux.c index a8bc679703..618897527e 100644 --- a/source3/modules/vfs_aio_linux.c +++ b/source3/modules/vfs_aio_linux.c @@ -29,12 +29,12 @@ static int event_fd = -1; static io_context_t io_ctx; -static struct fd_event *aio_read_event; +static struct tevent_fd *aio_read_event; static bool used; static unsigned num_busy; static void aio_linux_done(struct tevent_context *event_ctx, - struct fd_event *event, + struct tevent_fd *event, uint16 flags, void *private_data); /************************************************************************ @@ -247,7 +247,7 @@ static struct tevent_req *aio_linux_fsync_send( } static void aio_linux_done(struct tevent_context *event_ctx, - struct fd_event *event, + struct tevent_fd *event, uint16 flags, void *private_data) { uint64_t num_events = 0; diff --git a/source3/modules/vfs_aio_pthread.c b/source3/modules/vfs_aio_pthread.c index aa10921a3d..5642a89e2d 100644 --- a/source3/modules/vfs_aio_pthread.c +++ b/source3/modules/vfs_aio_pthread.c @@ -40,11 +40,11 @@ static bool init_aio_threadpool(struct tevent_context *ev_ctx, struct pthreadpool **pp_pool, void (*completion_fn)(struct tevent_context *, - struct fd_event *, + struct tevent_fd *, uint16, void *)) { - struct fd_event *sock_event = NULL; + struct tevent_fd *sock_event = NULL; int ret = 0; if (*pp_pool) { @@ -151,7 +151,7 @@ static struct aio_open_private_data *find_open_private_data_by_mid(uint64_t mid) ***********************************************************************/ static void aio_open_handle_completion(struct tevent_context *event_ctx, - struct fd_event *event, + struct tevent_fd *event, uint16 flags, void *p) { diff --git a/source3/modules/vfs_notify_fam.c b/source3/modules/vfs_notify_fam.c index c456cadd26..f10a4c9c94 100644 --- a/source3/modules/vfs_notify_fam.c +++ b/source3/modules/vfs_notify_fam.c @@ -68,7 +68,7 @@ static bool fam_connection_initialized = False; static struct fam_watch_context *fam_notify_list; static void fam_handler(struct tevent_context *event_ctx, - struct fd_event *fd_event, + struct tevent_fd *fd_event, uint16 flags, void *private_data); @@ -147,7 +147,7 @@ static void fam_reopen(FAMConnection *fam_conn, } static void fam_handler(struct tevent_context *event_ctx, - struct fd_event *fd_event, + struct tevent_fd *fd_event, uint16 flags, void *private_data) { diff --git a/source3/modules/vfs_preopen.c b/source3/modules/vfs_preopen.c index 4aae77d613..175298685a 100644 --- a/source3/modules/vfs_preopen.c +++ b/source3/modules/vfs_preopen.c @@ -26,7 +26,7 @@ struct preopen_state; struct preopen_helper { struct preopen_state *state; - struct fd_event *fde; + struct tevent_fd *fde; pid_t pid; int fd; bool busy; @@ -107,7 +107,7 @@ static void preopen_queue_run(struct preopen_state *state) } static void preopen_helper_readable(struct tevent_context *ev, - struct fd_event *fde, uint16_t flags, + struct tevent_fd *fde, uint16_t flags, void *priv) { struct preopen_helper *helper = (struct preopen_helper *)priv; |