Commit a1a6e62b authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

virtio: fix spelling of virtblk_scsi_request_done

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: default avatarBart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 65ba6b54
...@@ -111,7 +111,7 @@ static int virtblk_add_req_scsi(struct virtqueue *vq, struct virtblk_req *vbr, ...@@ -111,7 +111,7 @@ static int virtblk_add_req_scsi(struct virtqueue *vq, struct virtblk_req *vbr,
return virtqueue_add_sgs(vq, sgs, num_out, num_in, vbr, GFP_ATOMIC); return virtqueue_add_sgs(vq, sgs, num_out, num_in, vbr, GFP_ATOMIC);
} }
static inline void virtblk_scsi_reques_done(struct request *req) static inline void virtblk_scsi_request_done(struct request *req)
{ {
struct virtblk_req *vbr = blk_mq_rq_to_pdu(req); struct virtblk_req *vbr = blk_mq_rq_to_pdu(req);
struct virtio_blk *vblk = req->q->queuedata; struct virtio_blk *vblk = req->q->queuedata;
...@@ -144,7 +144,7 @@ static inline int virtblk_add_req_scsi(struct virtqueue *vq, ...@@ -144,7 +144,7 @@ static inline int virtblk_add_req_scsi(struct virtqueue *vq,
{ {
return -EIO; return -EIO;
} }
static inline void virtblk_scsi_reques_done(struct request *req) static inline void virtblk_scsi_request_done(struct request *req)
{ {
} }
#define virtblk_ioctl NULL #define virtblk_ioctl NULL
...@@ -180,7 +180,7 @@ static inline void virtblk_request_done(struct request *req) ...@@ -180,7 +180,7 @@ static inline void virtblk_request_done(struct request *req)
switch (req_op(req)) { switch (req_op(req)) {
case REQ_OP_SCSI_IN: case REQ_OP_SCSI_IN:
case REQ_OP_SCSI_OUT: case REQ_OP_SCSI_OUT:
virtblk_scsi_reques_done(req); virtblk_scsi_request_done(req);
break; break;
case REQ_OP_DRV_IN: case REQ_OP_DRV_IN:
req->errors = (error != 0); req->errors = (error != 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment