On 21.02.2017 15:58, Kevin Wolf wrote: > Block jobs don't actually do I/O through the the reference they create > with block_job_add_bdrv(), but they might want to use the permisssion > system to express what the block job does to intermediate nodes. This > adds permissions to block_job_add_bdrv() to provide the means to request > permissions. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > block/backup.c | 4 +++- > block/commit.c | 8 ++++++-- > block/mirror.c | 9 +++++++-- > block/stream.c | 4 +++- > blockjob.c | 36 ++++++++++++++++++++++++++++++------ > include/block/blockjob.h | 5 ++++- > 6 files changed, 53 insertions(+), 13 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature