aboutsummaryrefslogtreecommitdiff
path: root/scsi/trace.h
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>2022-11-28 09:23:30 -0500
committerKevin Wolf <kwolf@redhat.com>2022-12-15 16:07:43 +0100
commit84bdf21f97e670d61615d44a95d2f33b41f849b1 (patch)
tree708d075f8da80e89c9bbec43b950922c60ca0fff /scsi/trace.h
parenta212e675cde67fb783b7f8e5b31dd02e9c880f58 (diff)
block: distinguish between bdrv_create running in coroutine and not
Call two different functions depending on whether bdrv_create is in coroutine or not, following the same pattern as generated_co_wrapper functions. This allows to also call the coroutine function directly, without using CreateCo or relying in bdrv_create(). Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Message-Id: <20221128142337.657646-8-eesposit@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scsi/trace.h')
0 files changed, 0 insertions, 0 deletions