]> git.proxmox.com Git - mirror_qemu.git/commit
block: Classify bdrv_get_flags() as I/O function
authorHanna Reitz <hreitz@redhat.com>
Wed, 27 Apr 2022 11:40:54 +0000 (13:40 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 4 May 2022 13:55:23 +0000 (15:55 +0200)
commit15aee7ac9587562b1d021959dedc2bbb7e9a9fb3
treebde98b035df33ee320172531c6ec21a2fd46efd5
parenta81d8d4a7203e4be392f9ad37af104759b7cbda5
block: Classify bdrv_get_flags() as I/O function

This function is safe to call in an I/O context, and qcow2_do_open()
does so (invoked in an I/O context by qcow2_co_invalidate_cache()).

Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220427114057.36651-2-hreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
include/block/block-global-state.h
include/block/block-io.h