Skip to content
Commit f862e60f authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

drm/virtio: fix lock context imbalance



When virtio_gpu_free_vbufs exits due to list empty, it does not
drop the free_vbufs lock that it took.
list empty is not expected to happen anyway, but it can't hurt to fix
this and drop the lock.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 8854a56f
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