[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: |
Max Reitz |
Subject: |
Re: [PATCH v3 15/33] block: Pull out bdrv_default_perms_for_backing() |
Date: |
Thu, 7 May 2020 11:19:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
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 <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?
Sounds good.
Max
signature.asc
Description: OpenPGP digital signature