diff options
author | Jeff Cody <jcody@redhat.com> | 2012-09-20 15:13:35 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-09-24 15:15:13 +0200 |
commit | dc1c13d96912731d4c7c7e13d31c93b8735f1203 (patch) | |
tree | dfa2470427405927c852dc9dc2acf03e0ecd8cd1 /block.c | |
parent | 0bce597d6ec34b2af802799eb53ebc863c704d05 (diff) |
block: remove keep_read_only flag from BlockDriverState struct
The keep_read_only flag is no longer used, in favor of the bdrv
flag BDRV_O_ALLOW_RDWR.
Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -812,8 +812,6 @@ int bdrv_open(BlockDriverState *bs, const char *filename, int flags, flags |= BDRV_O_ALLOW_RDWR; } - bs->keep_read_only = !(flags & BDRV_O_ALLOW_RDWR); - /* Open the image */ ret = bdrv_open_common(bs, filename, flags, drv); if (ret < 0) { |