diff options
| author | Max Reitz | 2020-05-13 13:05:26 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2020-05-18 19:05:25 +0200 |
| commit | 70082db4efab1bc91467a9207c6e3f554a8e6bac (patch) | |
| tree | c0a3453a8c176695dc121cc2d338754f6f3f6da6 /include/block | |
| parent | block: Distinguish paths in *_format_default_perms (diff) | |
| download | qemu-70082db4efab1bc91467a9207c6e3f554a8e6bac.tar.gz qemu-70082db4efab1bc91467a9207c6e3f554a8e6bac.tar.xz qemu-70082db4efab1bc91467a9207c6e3f554a8e6bac.zip | |
block: Pull out bdrv_default_perms_for_cow()
Right now, bdrv_format_default_perms() is used by format parents
(generally). We want to switch to a model where most parents use a
single BdrvChildClass, which then decides the permissions based on the
child role. To do so, we have to split bdrv_format_default_perms() into
separate functions for each such role.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200513110544.176672-17-mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions
