[Virtio-fs] [PATCH] virtiofsd: fix eventfd_write failure message
Dr. David Alan Gilbert
dgilbert at redhat.com
Fri Jan 3 10:41:39 UTC 2020
* Eryu Guan (eguan at linux.alibaba.com) wrote:
> Signed-off-by: Eryu Guan <eguan at linux.alibaba.com>
> ---
> tools/virtiofsd/fuse_virtio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/virtiofsd/fuse_virtio.c b/tools/virtiofsd/fuse_virtio.c
> index 2ae38758567e..775f32bdaae2 100644
> --- a/tools/virtiofsd/fuse_virtio.c
> +++ b/tools/virtiofsd/fuse_virtio.c
> @@ -843,7 +843,7 @@ static void fv_queue_set_started(VuDev *dev, int qidx, bool started)
>
> /* Kill the thread */
> if (eventfd_write(ourqi->kill_fd, 1)) {
> - fuse_log(FUSE_LOG_ERR, "Eventfd_read for queue: %m\n");
> + fuse_log(FUSE_LOG_ERR, "Eventfd_write for queue: %m\n");
> }
> ret = pthread_join(ourqi->thread, NULL);
> if (ret) {
> --
> 2.14.4.44.g2045bb6
Reviewed-by: Dr. David Alan Gilbert <dgilbert at redhat.com>
Thanks, merged into 'virtiofsd: Kill threads when queues are stopped'
>
> _______________________________________________
> Virtio-fs mailing list
> Virtio-fs at redhat.com
> https://www.redhat.com/mailman/listinfo/virtio-fs
--
Dr. David Alan Gilbert / dgilbert at redhat.com / Manchester, UK
More information about the Virtio-fs
mailing list