Re: [Qemu-devel] [PATCH v7 02/24] blockjob: Call bdrv_unref() on creation error

2015-11-18 Thread Kevin Wolf
Am 09.11.2015 um 23:39 hat Max Reitz geschrieben: > If block_job_create() fails, it should release its reference to the > job's BDS. Normally, this is done in the callback provided by the > caller, but that callback will not be invoked if the block job failed to > be created. > > Signed-off-by: Ma

Re: [Qemu-devel] [PATCH v7 02/24] blockjob: Call bdrv_unref() on creation error

2015-11-11 Thread Fam Zheng
On Mon, 11/09 23:39, Max Reitz wrote: > If block_job_create() fails, it should release its reference to the > job's BDS. Normally, this is done in the callback provided by the > caller, but that callback will not be invoked if the block job failed to > be created. > > Signed-off-by: Max Reitz > R

[Qemu-devel] [PATCH v7 02/24] blockjob: Call bdrv_unref() on creation error

2015-11-09 Thread Max Reitz
If block_job_create() fails, it should release its reference to the job's BDS. Normally, this is done in the callback provided by the caller, but that callback will not be invoked if the block job failed to be created. Signed-off-by: Max Reitz Reviewed-by: Alberto Garcia Reviewed-by: Kevin Wolf