block: Drop @child_class from bdrv_child_perm()
commite5d8a4068526d3fb692e3402485edd03bc11c084
authorMax Reitz <mreitz@redhat.com>
Wed, 13 May 2020 11:05:44 +0000 (13 13:05 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 18 May 2020 17:05:25 +0000 (18 19:05 +0200)
treee1ec36109c0c771cae4e98be562724b7e1be21c3
parent1f38f04eacd4c3b9409dcb411525f203cce168a1
block: Drop @child_class from bdrv_child_perm()

Implementations should decide the necessary permissions based on @role.

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