Kevin Wolf 03b9eaca54 block: Mark bdrv_root_attach_child() GRAPH_WRLOCK
Instead of taking the writer lock internally, require callers to already
hold it when calling bdrv_root_attach_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>
Message-ID: <20231027155333.420094-5-kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2023-11-07 19:14:19 +01:00
..
2023-09-08 13:08:52 +03:00
2023-11-07 11:05:37 +08:00
2023-11-07 18:59:41 +08:00
2023-11-01 16:13:59 +01:00
2023-09-07 14:01:29 -04:00
2023-11-07 09:41:24 +08:00
2023-08-31 19:47:43 +02:00