Am 22.02.2017 um 15:04 hat Max Reitz geschrieben:
> > @@ -1390,6 +1565,7 @@ BdrvChild *bdrv_root_attach_child(BlockDriverState 
> > *child_bs,
> >  
> >      ret = bdrv_check_update_perm(child_bs, perm, shared_perm, NULL, errp);
> >      if (ret < 0) {
> > +        bdrv_abort_perm_update(child_bs);
> >          return NULL;
> >      }
> >  
> 
> This function doesn't call bdrv_set_perm(). Intentional?

Yes, intentional. It calls it indirectly via bdrv_replace_child(). I'll
add a comment.

Kevin

Attachment: pgpKxbmz4OEPW.pgp
Description: PGP signature

Reply via email to