vhost: remove work arg from vhost_work_flush
authorMike Christie <michael.christie@oracle.com>
Tue, 25 May 2021 17:47:29 +0000 (12:47 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 3 Jul 2021 08:50:54 +0000 (04:50 -0400)
commit1465cb6117bafbf998c05b79982903d17d15fe7f
treec17daf1cb4f68a9bddf4fc19b0c7d338f0abfc98
parentd00d8da5869a2608e97cfede094dfc5e11462a46
vhost: remove work arg from vhost_work_flush

vhost_work_flush doesn't do anything with the work arg. This patch drops
it and then renames vhost_work_flush to vhost_work_dev_flush to reflect
that the function flushes all the works in the dev and not just a
specific queue or work item.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210525174733.6212-2-michael.christie@oracle.com
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/scsi.c
drivers/vhost/vhost.c
drivers/vhost/vhost.h
drivers/vhost/vsock.c