Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146991
b: refs/heads/master
c: 0442085
h: refs/heads/master
i:
  146989: c14efd7
  146987: 340043e
  146983: 7c0a715
  146975: 5a212cc
v: v3
  • Loading branch information
Tejun Heo authored and Jens Axboe committed Apr 28, 2009
1 parent bfbb78d commit c5fa0a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd4c34ebec155e5c10f897d9bebf618248121e70
refs/heads/master: 044208506d35bd62396c4673176e2c12393905b8
9 changes: 2 additions & 7 deletions trunk/drivers/block/sunvdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,6 @@ static void vdc_end_special(struct vdc_port *port, struct vio_disk_desc *desc)
vdc_finish(&port->vio, -err, WAITING_FOR_GEN_CMD);
}

static void vdc_end_request(struct request *req, int error, int num_sectors)
{
__blk_end_request(req, error, num_sectors << 9);
}

static void vdc_end_one(struct vdc_port *port, struct vio_dring_state *dr,
unsigned int index)
{
Expand All @@ -239,7 +234,7 @@ static void vdc_end_one(struct vdc_port *port, struct vio_dring_state *dr,

rqe->req = NULL;

vdc_end_request(req, (desc->status ? -EIO : 0), desc->size >> 9);
__blk_end_request(req, (desc->status ? -EIO : 0), desc->size);

if (blk_queue_stopped(port->disk->queue))
blk_start_queue(port->disk->queue);
Expand Down Expand Up @@ -453,7 +448,7 @@ static void do_vdc_request(struct request_queue *q)

blkdev_dequeue_request(req);
if (__send_request(req) < 0)
vdc_end_request(req, -EIO, req->hard_nr_sectors);
__blk_end_request_all(req, -EIO);
}
}

Expand Down

0 comments on commit c5fa0a5

Please sign in to comment.