aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-tape.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r--drivers/ide/ide-tape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 4e6181c7bbda..de2d926e66c2 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -502,7 +502,7 @@ static int idetape_end_request(ide_drive_t *drive, int uptodate, int nr_sects)
502 502
503 spin_lock_irqsave(&tape->lock, flags); 503 spin_lock_irqsave(&tape->lock, flags);
504 504
505 ide_end_drive_cmd(drive, 0, 0); 505 ide_complete_rq(drive, 0);
506 506
507 spin_unlock_irqrestore(&tape->lock, flags); 507 spin_unlock_irqrestore(&tape->lock, flags);
508 return 0; 508 return 0;