mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] update blk_execute_rq to take an at_head parameter
Original From: Mike Christie <[email protected]> Modified to split out block changes (this patch) and SCSI pieces. Signed-off-by: Jens Axboe <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
f63eb21b4f
commit
994ca9a196
5 changed files with 11 additions and 10 deletions
|
|
@ -2136,7 +2136,7 @@ static int cdrom_read_cdda_bpc(struct cdrom_device_info *cdi, __u8 __user *ubuf,
|
|||
if (rq->bio)
|
||||
blk_queue_bounce(q, &rq->bio);
|
||||
|
||||
if (blk_execute_rq(q, cdi->disk, rq)) {
|
||||
if (blk_execute_rq(q, cdi->disk, rq, 0)) {
|
||||
struct request_sense *s = rq->sense;
|
||||
ret = -EIO;
|
||||
cdi->last_sense = s->sense_key;
|
||||
|
|
|
|||
Loading…
Reference in a new issue