Re: [PATCH for-5.0 v2 05/23] quorum: Fix child permissions

2019-11-29 Thread Vladimir Sementsov-Ogievskiy
11.11.2019 19:01, Max Reitz wrote: > Quorum cannot share WRITE or RESIZE on its children. Presumably, it > only does so because as a filter, it seemed intuitively correct to point > its .bdrv_child_perm to bdrv_filter_default_perm(). > > However, it is not really a filter, and

[PATCH for-5.0 v2 05/23] quorum: Fix child permissions

2019-11-11 Thread Max Reitz
Quorum cannot share WRITE or RESIZE on its children. Presumably, it only does so because as a filter, it seemed intuitively correct to point its .bdrv_child_perm to bdrv_filter_default_perm(). However, it is not really a filter, and bdrv_filter_default_perm() does not work for it, so we have to