diff --git a/[refs] b/[refs] index 7e5b4f8c96f7..fc35240fa8fe 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 312b90fbed0e07f61d2f060789440a83df6bba23 +refs/heads/master: 934ad4c235f87dcb9206abdfa22922358999afab diff --git a/trunk/drivers/vfio/vfio.c b/trunk/drivers/vfio/vfio.c index 9591e2b509d7..0b025d58de81 100644 --- a/trunk/drivers/vfio/vfio.c +++ b/trunk/drivers/vfio/vfio.c @@ -416,8 +416,9 @@ static void vfio_device_release(struct kref *kref) /* Device reference always implies a group reference */ static void vfio_device_put(struct vfio_device *device) { + struct vfio_group *group = device->group; kref_put(&device->kref, vfio_device_release); - vfio_group_put(device->group); + vfio_group_put(group); } static void vfio_device_get(struct vfio_device *device)