Skip to content
Commit 09f332a5 authored by Eric Biggers's avatar Eric Biggers Committed by Michael S. Tsirkin
Browse files

vhost: don't hold onto file pointer for VHOST_SET_VRING_ERR



We already hold a reference to the eventfd_ctx, which is sufficient;
there's no need to hold a reference to the struct file as well.  So get
rid of vhost_virtqueue->error.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarJason Wang <jasowang@redhat.com>
parent e050c7d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment