diff options
Diffstat (limited to 'drivers/block/virtio_blk.c')
-rw-r--r-- | drivers/block/virtio_blk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index b277f9e6abac..0a3222fd4442 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c | |||
@@ -366,9 +366,9 @@ static int __devinit virtblk_probe(struct virtio_device *vdev) | |||
366 | 366 | ||
367 | /* If barriers are supported, tell block layer that queue is ordered */ | 367 | /* If barriers are supported, tell block layer that queue is ordered */ |
368 | if (virtio_has_feature(vdev, VIRTIO_BLK_F_FLUSH)) | 368 | if (virtio_has_feature(vdev, VIRTIO_BLK_F_FLUSH)) |
369 | blk_queue_ordered(q, QUEUE_ORDERED_DRAIN_FLUSH, NULL); | 369 | blk_queue_ordered(q, QUEUE_ORDERED_DRAIN_FLUSH); |
370 | else if (virtio_has_feature(vdev, VIRTIO_BLK_F_BARRIER)) | 370 | else if (virtio_has_feature(vdev, VIRTIO_BLK_F_BARRIER)) |
371 | blk_queue_ordered(q, QUEUE_ORDERED_TAG, NULL); | 371 | blk_queue_ordered(q, QUEUE_ORDERED_TAG); |
372 | 372 | ||
373 | /* If disk is read-only in the host, the guest should obey */ | 373 | /* If disk is read-only in the host, the guest should obey */ |
374 | if (virtio_has_feature(vdev, VIRTIO_BLK_F_RO)) | 374 | if (virtio_has_feature(vdev, VIRTIO_BLK_F_RO)) |