Commit 3687221f authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

ide-tape: fix handling of non-special requests in ->end_request method

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <>
parent 73d7de0c
......@@ -1690,6 +1690,11 @@ static int idetape_end_request(ide_drive_t *drive, int uptodate, int nr_sects)
if (error)
tape->failed_pc = NULL;
if (!blk_special_request(rq)) {
ide_end_request(drive, uptodate, nr_sects);
return 0;
spin_lock_irqsave(&tape->spinlock, flags);
/* The request was a pipelined data transfer request */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment