block: Simplify use of BDRV_BLOCK_RAW
commitd5254033daf524fb2eee862eb8377b9ddc81000a
authorEric Blake <eblake@redhat.com>
Mon, 5 Jun 2017 20:38:44 +0000 (5 15:38 -0500)
committerKevin Wolf <kwolf@redhat.com>
Mon, 10 Jul 2017 11:18:05 +0000 (10 13:18 +0200)
tree459bfed8bfa618fa9b3188d571e2bea61a31f64f
parent81c219ac6ce0d6182e35f3976f2caa4cefcaf9f0
block: Simplify use of BDRV_BLOCK_RAW

The lone caller that cares about a return of BDRV_BLOCK_RAW
(namely, io.c:bdrv_co_get_block_status) completely replaces the
return value, so there is no point in passing BDRV_BLOCK_DATA.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/commit.c
block/mirror.c
block/raw-format.c
block/vpc.c
include/block/block.h