aboutsummaryrefslogtreecommitdiff
path: root/block/raw-posix.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2016-03-02 18:31:08 +0100
committerKevin Wolf <kwolf@redhat.com>2016-03-30 11:59:32 +0200
commit0e8f44bee998ba7711b77efee7aee0aee688b4ad (patch)
treea01c81e3acdc7e61d2b362d65aa8982dba6f3449 /block/raw-posix.c
parent5eda622768a2162993e50275b325125d4485757d (diff)
block/qapi: Set s->device in bdrv_query_stats()
This is the only instance of bdrv_query_blk_stats() accessing anything in the BlockStats structure other than s->stats, so let us move it to its caller (where it makes just as much sense) allowing us to make bdrv_query_blk_stats() take a pointer to the BlockDeviceStats instead of BlockStats. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/raw-posix.c')
0 files changed, 0 insertions, 0 deletions