Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #18 from tmakatos/CA-85680

CA-85680: fixed passing bdev read only flag to blktap2 kernel module
  • Loading branch information...
commit 6fc1f9668a14cd9921e99de37c19423ec4f8fced 2 parents 7f1e46f + cc0fa70
@andreil andreil authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  drivers/tapdisk-blktap.c
View
2  drivers/tapdisk-blktap.c
@@ -439,7 +439,7 @@ tapdisk_blktap_create_device(td_blktap_t *tap,
memset(&bdi, 0, sizeof(bdi));
flags = 0;
- flags |= rdonly & TD_OPEN_RDONLY ? BLKTAP_DEVICE_RO : 0;
+ flags |= rdonly ? BLKTAP_DEVICE_RO : 0;
bdi.capacity = info->size;
bdi.sector_size = info->sector_size;
Please sign in to comment.
Something went wrong with that request. Please try again.