# Re: \[PATCH 1/5\] vhost: remove work arg from vhost\_work\_flush

- From: Stefano Garzarella \<sgarzare@redhat.com\>
- Date: 2021-05-27 13:23:01 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2021/05/6745975
- Thread: https://ratatoskr.run/target-devel/2021/05/6745914/t.md

```text
On Tue, May 25, 2021 at 12:47:29PM -0500, Mike Christie wrote:
>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 <redacted>
>Reviewed-by: Chaitanya Kulkarni <redacted>
>---
> drivers/vhost/scsi.c  | 4 ++--
> drivers/vhost/vhost.c | 8 ++++----
> drivers/vhost/vhost.h | 2 +-
> drivers/vhost/vsock.c | 2 +-
> 4 files changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
```
