On 06.05.20 15:21, Kevin Wolf wrote:
> 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 <mre...@redhat.com>
>> Reviewed-by: Eric Blake <ebl...@redhat.com>
> 
> As you want to call this based on the child role, would
> bdrv_default_perms_for_cow() be a more obvious name?

Sounds good.

Max

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to