Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24912
b: refs/heads/master
c: 03731fb
h: refs/heads/master
v: v3
  • Loading branch information
Richard Purdie authored and Linus Torvalds committed Mar 31, 2006
1 parent a65db1d commit a3890e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: 8fe833c1b010489b71b082e553b1dfa80ef81061
refs/heads/master: 03731fbdd09f8db4af86dbf437e3169fb1920d5e
8 changes: 7 additions & 1 deletion trunk/drivers/ide/ide-taskfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,13 @@ static void task_end_request(ide_drive_t *drive, struct request *rq, u8 stat)
}
}

ide_end_request(drive, 1, rq->hard_nr_sectors);
if (rq->rq_disk) {
ide_driver_t *drv;

drv = *(ide_driver_t **)rq->rq_disk->private_data;;
drv->end_request(drive, 1, rq->hard_nr_sectors);
} else
ide_end_request(drive, 1, rq->hard_nr_sectors);
}

/*
Expand Down

0 comments on commit a3890e1

Please sign in to comment.