[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 15/33] block: Pull out bdrv_default_perms_for_backing()
From: |
Kevin Wolf |
Subject: |
Re: [PATCH v3 15/33] block: Pull out bdrv_default_perms_for_backing() |
Date: |
Wed, 6 May 2020 15:21:34 +0200 |
Am 18.02.2020 um 13:42 hat Max Reitz geschrieben:
> 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 <address@hidden>
> Reviewed-by: Eric Blake <address@hidden>
As you want to call this based on the child role, would
bdrv_default_perms_for_cow() be a more obvious name?
Kevin
- Re: [PATCH v3 15/33] block: Pull out bdrv_default_perms_for_backing(),
Kevin Wolf <=