Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77634
b: refs/heads/master
c: a65b586
h: refs/heads/master
v: v3
  • Loading branch information
Kiyoshi Ueda authored and Jens Axboe committed Jan 28, 2008
1 parent 75e68ef commit 4c7a592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 7d699bafe258ebd8f9b4ec182c554200b369a504
refs/heads/master: a65b58663d983e588aed8d1bfc75edaac2527fa7
5 changes: 1 addition & 4 deletions trunk/drivers/block/xsysace.c
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ static void ace_fsm_dostate(struct ace_device *ace)

/* bio finished; is there another one? */
i = ace->req->current_nr_sectors;
if (end_that_request_first(ace->req, 1, i)) {
if (__blk_end_request(ace->req, 0, i)) {
/* dev_dbg(ace->dev, "next block; h=%li c=%i\n",
* ace->req->hard_nr_sectors,
* ace->req->current_nr_sectors);
Expand All @@ -718,9 +718,6 @@ static void ace_fsm_dostate(struct ace_device *ace)
break;

case ACE_FSM_STATE_REQ_COMPLETE:
/* Complete the block request */
blkdev_dequeue_request(ace->req);
end_that_request_last(ace->req, 1);
ace->req = NULL;

/* Finished request; go to idle state */
Expand Down

0 comments on commit 4c7a592

Please sign in to comment.