Searched hist:ec82cc41a79ffa8b1a2dee76a420a34a59f117c6 (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/include/block/ |
H A D | block_int-io.h | diff ec82cc41a79ffa8b1a2dee76a420a34a59f117c6 Fri Oct 27 10:53:20 CDT 2023 Kevin Wolf <kwolf@redhat.com> block: Mark bdrv_filter_child() and callers GRAPH_RDLOCK
This adds GRAPH_RDLOCK annotations to declare that callers of bdrv_filter_child() need to hold a reader lock for the graph because it accesses bs->file/backing.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20231027155333.420094-12-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
/openbmc/qemu/ |
H A D | block.c | diff ec82cc41a79ffa8b1a2dee76a420a34a59f117c6 Fri Oct 27 10:53:20 CDT 2023 Kevin Wolf <kwolf@redhat.com> block: Mark bdrv_filter_child() and callers GRAPH_RDLOCK
This adds GRAPH_RDLOCK annotations to declare that callers of bdrv_filter_child() need to hold a reader lock for the graph because it accesses bs->file/backing.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20231027155333.420094-12-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|