summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorMarkus Armbruster2011-09-06 18:58:47 +0200
committerKevin Wolf2011-09-12 15:17:20 +0200
commit025e849a50259447aad49a0b45f0133c6a0f5d16 (patch)
treef8d35912c6c0728d7cac71325eec762afb4a9dc7 /trace-events
parentblock: Drop medium lock tracking, ask device models instead (diff)
downloadqemu-025e849a50259447aad49a0b45f0133c6a0f5d16.tar.gz
qemu-025e849a50259447aad49a0b45f0133c6a0f5d16.tar.xz
qemu-025e849a50259447aad49a0b45f0133c6a0f5d16.zip
block: Rename bdrv_set_locked() to bdrv_lock_medium()
While there, make the locked parameter bool. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-events b/trace-events
index a8e76841a4..8bed3bea7a 100644
--- a/trace-events
+++ b/trace-events
@@ -62,7 +62,7 @@ bdrv_aio_multiwrite_latefail(void *mcb, int i) "mcb %p i %d"
bdrv_aio_flush(void *bs, void *opaque) "bs %p opaque %p"
bdrv_aio_readv(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
bdrv_aio_writev(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
-bdrv_set_locked(void *bs, int locked) "bs %p locked %d"
+bdrv_lock_medium(void *bs, bool locked) "bs %p locked %d"
bdrv_co_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
bdrv_co_writev(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
bdrv_co_io(int is_write, void *acb) "is_write %d acb %p"