Re: [Qemu-devel] [PATCH 3/4] block: Simplify use of BDRV_BLOCK_RAW.

2017-05-22 Thread Eric Blake
On 05/18/2017 09:32 PM, Eric Blake wrote: Not sure why I included a trailing dot in the subject line; a maintainer can remove that if desired. > The lone caller that cares about a return of BDRV_BLOCK_RAW > completely replaces the return value, so there is no point in > passing BDRV_BLOCK_DATA.

[Qemu-devel] [PATCH 3/4] block: Simplify use of BDRV_BLOCK_RAW.

2017-05-18 Thread Eric Blake
The lone caller that cares about a return of BDRV_BLOCK_RAW completely replaces the return value, so there is no point in passing BDRV_BLOCK_DATA. Signed-off-by: Eric Blake --- block/commit.c | 2 +- block/mirror.c | 2 +- block/raw-format.c | 2 +- block/vpc.c| 2 +- 4 files cha