]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: Mark bdrv_co_do_pwrite_zeroes() GRAPH_RDLOCK
authorKevin Wolf <kwolf@redhat.com>
Fri, 3 Feb 2023 15:21:52 +0000 (16:21 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 23 Feb 2023 18:49:19 +0000 (19:49 +0100)
commiteeb4777544e41106c85146a96e16da14ab13110f
tree762dbb5239f6bf178e0da4a0017ecbf665ae8220
parentb24a4c41ba804f2f465adbc0ab57854cba4868e1
block: Mark bdrv_co_do_pwrite_zeroes() GRAPH_RDLOCK

All callers are already GRAPH_RDLOCK, so just add the annotation and
remove assume_graph_lock().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230203152202.49054-14-kwolf@redhat.com>
Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/io.c