On 28.02.2017 13:54, Kevin Wolf wrote: > Not all callers of bdrv_set_backing_hd() know for sure that attaching > the backing file will be allowed by the permission system. Return the > error from the function rather than aborting. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > block.c | 30 +++++++++++++++++++++++------- > block/commit.c | 14 +++++++------- > block/mirror.c | 7 ++++++- > block/stream.c | 9 ++++++++- > block/vvfat.c | 2 +- > include/block/block.h | 3 ++- > 6 files changed, 47 insertions(+), 18 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature