]> git.proxmox.com Git - mirror_qemu.git/commit - block/block-backend.c
block: Rename BdrvChildRole to BdrvChildClass
authorMax Reitz <mreitz@redhat.com>
Wed, 13 May 2020 11:05:13 +0000 (13:05 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 18 May 2020 17:05:25 +0000 (19:05 +0200)
commitbd86fb990cfedc50d9705b8ed31d183f01942035
tree066811fc2a4851843d4de43cc990cdcb7976313b
parentd67066d8bc01a14f7c9d9b9aeeffb30a10f0e900
block: Rename BdrvChildRole to BdrvChildClass

This structure nearly only contains parent callbacks for child state
changes.  It cannot really reflect a child's role, because different
roles may overlap (as we will see when real roles are introduced), and
because parents can have custom callbacks even when the child fulfills a
standard role.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-Id: <20200513110544.176672-4-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
17 files changed:
block.c
block/backup-top.c
block/blkdebug.c
block/blklogwrites.c
block/block-backend.c
block/commit.c
block/copy-on-read.c
block/io.c
block/mirror.c
block/quorum.c
block/replication.c
block/vvfat.c
blockjob.c
include/block/block.h
include/block/block_int.h
tests/test-bdrv-drain.c
tests/test-bdrv-graph-mod.c