Re: [Qemu-devel] [PATCH 07/10] block: Reuse fail path from bdrv_open()

2014-01-29 Thread Kevin Wolf
Am 26.01.2014 um 20:02 hat Max Reitz geschrieben: The fail paths of bdrv_file_open() and bdrv_open() naturally exhibit similarities, thus it is possible to reuse the one from bdrv_open() and shorten the one in bdrv_file_open() accordingly. Signed-off-by: Max Reitz mre...@redhat.com I find

Re: [Qemu-devel] [PATCH 07/10] block: Reuse fail path from bdrv_open()

2014-01-27 Thread Max Reitz
On 27.01.2014 04:10, Benoît Canet wrote: Le Sunday 26 Jan 2014 à 20:02:40 (+0100), Max Reitz a écrit : The fail paths of bdrv_file_open() and bdrv_open() naturally exhibit similarities, thus it is possible to reuse the one from bdrv_open() and shorten the one in bdrv_file_open() accordingly.

[Qemu-devel] [PATCH 07/10] block: Reuse fail path from bdrv_open()

2014-01-26 Thread Max Reitz
The fail paths of bdrv_file_open() and bdrv_open() naturally exhibit similarities, thus it is possible to reuse the one from bdrv_open() and shorten the one in bdrv_file_open() accordingly. Signed-off-by: Max Reitz mre...@redhat.com --- block.c | 17 +++-- 1 file changed, 7

Re: [Qemu-devel] [PATCH 07/10] block: Reuse fail path from bdrv_open()

2014-01-26 Thread Benoît Canet
Le Sunday 26 Jan 2014 à 20:02:40 (+0100), Max Reitz a écrit : The fail paths of bdrv_file_open() and bdrv_open() naturally exhibit similarities, thus it is possible to reuse the one from bdrv_open() and shorten the one in bdrv_file_open() accordingly. Signed-off-by: Max Reitz