Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replication: Fix replication open fail
replication_child_perm request write permissions for all child which will lead bdrv_check_perm fail. replication_child_perm() should request write permissions only if it is writable itself. Signed-off-by: Wang Guang <[email protected]> Signed-off-by: Wang Yong <[email protected]> Reviewed-by: Xie Changlong <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
- Loading branch information