On Wed, Feb 28, 2018 at 01:06:21PM +0800, Peter Xu wrote:
> It is strange that it was called gio_task_thread_result. Rename it to
> follow the naming rule of the file.
>
> Signed-off-by: Peter Xu <peterx@redhat.com>
> ---
> io/task.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
>
> diff --git a/io/task.c b/io/task.c
> index 3ce556017c..1a0a1c7185 100644
> --- a/io/task.c
> +++ b/io/task.c
> @@ -80,7 +80,7 @@ struct QIOTaskThreadData {
> };
>
>
> -static gboolean gio_task_thread_result(gpointer opaque)
> +static gboolean qio_task_thread_result(gpointer opaque)
> {
> struct QIOTaskThreadData *data = opaque;
>
> @@ -110,7 +110,7 @@ static gpointer qio_task_thread_worker(gpointer opaque)
> * the worker results
> */
> trace_qio_task_thread_exit(data->task);
> - g_idle_add(gio_task_thread_result, data);
> + g_idle_add(qio_task_thread_result, data);
> return NULL;
> }
>
> --
> 2.14.3
>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|