diff options
author | James Bottomley <James.Bottomley@SteelEye.com> | 2005-06-20 08:11:09 -0400 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2005-06-20 08:11:09 -0400 |
commit | 994ca9a19616f0d4161a9e825f0835925d522426 (patch) | |
tree | 0998252ed375929dca468440b7486d4c1104757f /drivers/cdrom | |
parent | f63eb21b4f32028755b6b9d47e5eb13c18ba0cae (diff) |
[PATCH] update blk_execute_rq to take an at_head parameter
Original From: Mike Christie <michaelc@cs.wisc.edu>
Modified to split out block changes (this patch) and SCSI pieces.
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/cdrom')
-rw-r--r-- | drivers/cdrom/cdrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 6a7d926774a1..153960348414 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c | |||
@@ -2136,7 +2136,7 @@ static int cdrom_read_cdda_bpc(struct cdrom_device_info *cdi, __u8 __user *ubuf, | |||
2136 | if (rq->bio) | 2136 | if (rq->bio) |
2137 | blk_queue_bounce(q, &rq->bio); | 2137 | blk_queue_bounce(q, &rq->bio); |
2138 | 2138 | ||
2139 | if (blk_execute_rq(q, cdi->disk, rq)) { | 2139 | if (blk_execute_rq(q, cdi->disk, rq, 0)) { |
2140 | struct request_sense *s = rq->sense; | 2140 | struct request_sense *s = rq->sense; |
2141 | ret = -EIO; | 2141 | ret = -EIO; |
2142 | cdi->last_sense = s->sense_key; | 2142 | cdi->last_sense = s->sense_key; |