Re: [PATCH v2 16/33] block: Pull out bdrv_default_perms_for_storage()

2020-02-06 Thread Max Reitz
On 05.02.20 22:02, Eric Blake wrote: > On 2/4/20 11:08 AM, Max Reitz wrote: >> Signed-off-by: Max Reitz >> --- > > Commit message is short. How about: 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

Re: [PATCH v2 16/33] block: Pull out bdrv_default_perms_for_storage()

2020-02-05 Thread Eric Blake
On 2/4/20 11:08 AM, Max Reitz wrote: Signed-off-by: Max Reitz --- Commit message is short. block.c | 71 + 1 file changed, 46 insertions(+), 25 deletions(-) Reviewed-by: Eric Blake -- Eric Blake, Principal Software Engineer Red

[PATCH v2 16/33] block: Pull out bdrv_default_perms_for_storage()

2020-02-04 Thread Max Reitz
Signed-off-by: Max Reitz --- block.c | 71 + 1 file changed, 46 insertions(+), 25 deletions(-) diff --git a/block.c b/block.c index b26ec10cce..b7999696d4 100644 --- a/block.c +++ b/block.c @@ -2318,6 +2318,50 @@ static void