commit | 356f4ef611df18f6f8323a9fe6e6b4963272bf74 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon Sep 11 11:46:15 2023 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Sep 20 17:46:01 2023 +0200 |
tree | b828ed64efd6a6c1ec9126c44c07ed17d3a62489 | |
parent | c629b6d22349c83ca262d1887c0920e87ec0bfdb [diff] |
block: Mark bdrv_parent_cb_change_media() GRAPH_RDLOCK The function reads the parents list, so it needs to hold the graph lock. 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-17-kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>