Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed passing bdev read only flag to blktap2 kernel module

  • Loading branch information...
commit cc0fa704c1bd5fdb7c1704a776eeeffd275cb4b4 1 parent 91b861a
@tmakatos tmakatos 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.