]> Git Repo - qemu.git/commit
block: Add bdrv_default_perms()
authorMax Reitz <[email protected]>
Wed, 13 May 2020 11:05:29 +0000 (13:05 +0200)
committerKevin Wolf <[email protected]>
Mon, 18 May 2020 17:05:25 +0000 (19:05 +0200)
commit2519f54919a9c3e0696e2fac7d564e15722618c4
tree984666a568e00d228ad55bcc28ccc69f8a749fdf
parentf889054f031f2f01ae97bdc7579fbdf3a30e4e0e
block: Add bdrv_default_perms()

This callback can be used by BDSs that use child_of_bds with the
appropriate BdrvChildRole for their children.

Also, make bdrv_format_default_perms() use it for child_of_bds children
(just a temporary solution until we can drop bdrv_format_default_perms()
altogether).

Signed-off-by: Max Reitz <[email protected]>
Message-Id: <20200513110544[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block.c
include/block/block_int.h
This page took 0.023341 seconds and 4 git commands to generate.