On Fri, Apr 22, 2016 at 07:42:34PM +0200, Kevin Wolf wrote:
> @@ -1527,7 +1525,7 @@ static int bdrv_open_inherit(BlockDriverState **pbs, 
> const char *filename,
>              return -ENODEV;
>          }
>  
> -        if (bs->throttle_state) {
> +        if (blk_get_public(bs->blk)->throttle_state) {

The reference argument can be any nodename.  How can you be sure bs->blk
!= NULL?

Attachment: signature.asc
Description: PGP signature

Reply via email to