summaryrefslogtreecommitdiff
path: root/drivers/vhost/vsock.c
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2022-05-17 21:08:50 +0300
committerMichael S. Tsirkin <mst@redhat.com>2022-05-31 19:45:10 +0300
commitb2ffa407ed5dd931d6b0657cc8824aa0f4e73a7a (patch)
treeed0b8ebc6532fb495e097268459356caaefecf39 /drivers/vhost/vsock.c
parentf3a1aad9a448e40d4833913cbd50aeec538a74fe (diff)
downloadlinux-b2ffa407ed5dd931d6b0657cc8824aa0f4e73a7a.tar.xz
vhost: rename vhost_work_dev_flush
This patch renames vhost_work_dev_flush to just vhost_dev_flush to relfect that it flushes everything on the device and that drivers don't know/care that polls are based on vhost_works. Drivers just flush the entire device and polls, and works for vhost-scsi management TMFs and IO net virtqueues, etc all are flushed. Signed-off-by: Mike Christie <michael.christie@oracle.com> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Message-Id: <20220517180850.198915-9-michael.christie@oracle.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/vsock.c')
-rw-r--r--drivers/vhost/vsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c
index 96be63697117..368330417bde 100644
--- a/drivers/vhost/vsock.c
+++ b/drivers/vhost/vsock.c
@@ -705,7 +705,7 @@ out:
static void vhost_vsock_flush(struct vhost_vsock *vsock)
{
- vhost_work_dev_flush(&vsock->dev);
+ vhost_dev_flush(&vsock->dev);
}
static void vhost_vsock_reset_orphans(struct sock *sk)