summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/block/xen-blkback/blkback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c
index ed85ba94b2e0..8583b130499a 100644
--- a/drivers/block/xen-blkback/blkback.c
+++ b/drivers/block/xen-blkback/blkback.c
@@ -559,7 +559,7 @@ static void dispatch_rw_block_io(struct blkif_st *blkif,
operation = READ;
break;
case BLKIF_OP_WRITE:
- operation = WRITE;
+ operation = WRITE_ODIRECT;
break;
case BLKIF_OP_WRITE_BARRIER:
operation = WRITE_BARRIER;