Home
last modified time | relevance | path

Searched hist:"5 c0ef4954f4cd8131df27f5f8cebe3ec215d64b3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblock.cdiff 5c0ef4954f4cd8131df27f5f8cebe3ec215d64b3 Fri Oct 27 10:53:24 CDT 2023 Kevin Wolf <kwolf@redhat.com> block: Mark bdrv_replace_node_common() GRAPH_WRLOCK

Instead of taking the writer lock internally, require callers to already
hold it when calling bdrv_replace_node_common(). Basically everthing in
the function needs the lock and its callers may already want to hold the
graph lock and so wouldn't be able to call functions that take it
internally.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20231027155333.420094-16-kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>