]> Git Repo - qemu.git/commit - block/throttle-groups.c
throttle: Remove throttle_group_lock/unlock()
authorAlberto Garcia <[email protected]>
Wed, 21 Oct 2015 18:36:05 +0000 (21:36 +0300)
committerKevin Wolf <[email protected]>
Fri, 23 Oct 2015 16:18:23 +0000 (18:18 +0200)
commitd87d01e16a0e59a6af9634162cf0ded142b43e0d
treea73b53d521ec360334716d4ace5cb99b43e899e0
parentbd745e238bb9432f40c875b6b4ad96a3d90e16a0
throttle: Remove throttle_group_lock/unlock()

The group throttling code was always meant to handle its locking
internally. However, bdrv_swap() was touching the ThrottleGroup
structure directly and therefore needed an API for that.

Now that bdrv_swap() no longer exists there's no need for the
throttle_group_lock() API anymore.

Signed-off-by: Alberto Garcia <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/throttle-groups.c
include/block/throttle-groups.h
This page took 0.025676 seconds and 4 git commands to generate.