diff options
author | 2023-09-11 11:46:19 +0200 | |
---|---|---|
committer | 2023-09-20 17:46:01 +0200 | |
commit | 32a8aba37eaae54d3a0a7ae5e93e3e157525660a (patch) | |
tree | c310d966906d71c635c89425f2e1f314dfafdba9 /scripts/qapi/source.py | |
parent | block: Mark bdrv_root_unref_child() GRAPH_WRLOCK (diff) | |
download | qemu-32a8aba37eaae54d3a0a7ae5e93e3e157525660a.tar.xz qemu-32a8aba37eaae54d3a0a7ae5e93e3e157525660a.zip |
block: Mark bdrv_unref_child() GRAPH_WRLOCK
Instead of taking the writer lock internally, require callers to already
hold it when calling bdrv_unref_child(). These callers will typically
already hold the graph lock once the locking work is completed, which
means that they can't call functions that take it internally.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20230911094620.45040-21-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions