]> Git Repo - qemu.git/commit - block.c
block: Make bdrv_is_writable() public
authorMax Reitz <[email protected]>
Wed, 6 Jun 2018 19:37:00 +0000 (21:37 +0200)
committerMax Reitz <[email protected]>
Mon, 11 Jun 2018 14:18:45 +0000 (16:18 +0200)
commitcc022140972f8b6ac3973c12ccf9dd6b1d2fd200
tree8b8eaf7fbc7a03788229f9dbc02c83cf336c2d70
parentbc33c047d1ec0b35c9cd8be62bcefae2da28654f
block: Make bdrv_is_writable() public

This is a useful function for the whole block layer, so make it public.
At the same time, users outside of block.c probably do not need to make
use of the reopen functionality, so rename the current function to
bdrv_is_writable_after_reopen() create a new bdrv_is_writable() function
that just passes NULL to it for the reopen queue.

Cc: [email protected]
Signed-off-by: Max Reitz <[email protected]>
Message-id: 20180606193702[email protected]
Reviewed-by: John Snow <[email protected]>
Reviewed-by: Jeff Cody <[email protected]>
Signed-off-by: Max Reitz <[email protected]>
block.c
include/block/block.h
This page took 0.026432 seconds and 4 git commands to generate.