Re: [Qemu-devel] [PATCH v3 7/8] block: Reuse success path from bdrv_open()

2014-02-18 Thread Benoît Canet
The Saturday 15 Feb 2014 à 04:30:23 (+0100), Max Reitz wrote : The fail and success paths of bdrv_file_open() may be further shortened by reusing code already existent in bdrv_open(). This includes bdrv_file_open() not taking the reference to options which allows the removal of

Re: [Qemu-devel] [PATCH v3 7/8] block: Reuse success path from bdrv_open()

2014-02-17 Thread Kevin Wolf
Am 15.02.2014 um 04:30 hat Max Reitz geschrieben: The fail and success paths of bdrv_file_open() may be further shortened by reusing code already existent in bdrv_open(). This includes bdrv_file_open() not taking the reference to options which allows the removal of QDECREF(options) in that

[Qemu-devel] [PATCH v3 7/8] block: Reuse success path from bdrv_open()

2014-02-14 Thread Max Reitz
The fail and success paths of bdrv_file_open() may be further shortened by reusing code already existent in bdrv_open(). This includes bdrv_file_open() not taking the reference to options which allows the removal of QDECREF(options) in that function. Signed-off-by: Max Reitz mre...@redhat.com ---