aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/virtio_blk.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/virtio_blk.c')
-rw-r--r--drivers/block/virtio_blk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 83816bf6882f..f751fc392ba9 100644
--- a/drivers/block/virtio_blk.c
+++ b/drivers/block/virtio_blk.c
@@ -135,7 +135,7 @@ static inline void virtblk_request_done(struct request *req)
135 req->errors = (error != 0); 135 req->errors = (error != 0);
136 } 136 }
137 137
138 blk_mq_end_io(req, error); 138 blk_mq_end_request(req, error);
139} 139}
140 140
141static void virtblk_done(struct virtqueue *vq) 141static void virtblk_done(struct virtqueue *vq)