summaryrefslogtreecommitdiff
path: root/docs/can.txt
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-05-27 18:40:55 +0300
committerKevin Wolf <kwolf@redhat.com>2021-06-02 14:23:20 +0200
commit975da073748ecb271d8ba2a7711ff46a8c6d8366 (patch)
treeafead59562f330798891f112773c789b7ecb82b8 /docs/can.txt
parent307261b243df2edde538f3ed5c9d80e168529355 (diff)
downloadqemu-975da073748ecb271d8ba2a7711ff46a8c6d8366.zip
block: drop BlockDriverState::read_only
This variable is just a cache for !(bs->open_flags & BDRV_O_RDWR), which we have to synchronize everywhere. Let's just drop it and consistently use bdrv_is_read_only(). Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20210527154056.70294-3-vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs/can.txt')
0 files changed, 0 insertions, 0 deletions