diff options
author | Max Reitz <mreitz@redhat.com> | 2020-02-18 11:34:40 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-02-18 11:55:39 +0100 |
commit | 37a3791b380584949046af6b62b54869390616dc (patch) | |
tree | 952e548606c747677463ecc6b5ffae0075ec2b4d /include/sysemu/sysemu.h | |
parent | f718ca147dad5b03b4cb75952966e59e34616382 (diff) |
quorum: Fix child permissions
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 provide a custom .bdrv_child_perm
implementation.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200218103454.296704-6-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/sysemu/sysemu.h')
0 files changed, 0 insertions, 0 deletions