block: Pass BdrvChildRole in remaining cases
commit1f38f04eacd4c3b9409dcb411525f203cce168a1
authorMax Reitz <mreitz@redhat.com>
Wed, 13 May 2020 11:05:43 +0000 (13 13:05 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 18 May 2020 17:05:25 +0000 (18 19:05 +0200)
treef4f794cb9f4dfc12bf754b8a0fccedd32b992092
parentf6de853fa3d76b4b92032dc6cdc06bedacbf9466
block: Pass BdrvChildRole in remaining cases

These calls have no real use for the child role yet, but it will not
harm to give one.

Notably, the bdrv_root_attach_child() call in blockjob.c is left
unmodified because there is not much the generic BlockJob object wants
from its children.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200513110544.176672-34-mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/block-backend.c
block/vvfat.c