aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r--drivers/ide/ide-cd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index 789b19cf5e55..6ade498cd2fe 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -1235,11 +1235,11 @@ static ide_startstop_t ide_do_rw_cdrom(ide_drive_t *drive, struct request *rq,
1235 /* right now this can only be a reset... */ 1235 /* right now this can only be a reset... */
1236 cdrom_end_request(drive, 1); 1236 cdrom_end_request(drive, 1);
1237 return ide_stopped; 1237 return ide_stopped;
1238 } else {
1239 blk_dump_rq_flags(rq, "ide-cd bad flags");
1240 cdrom_end_request(drive, 0);
1241 return ide_stopped;
1238 } 1242 }
1239
1240 blk_dump_rq_flags(rq, "ide-cd bad flags");
1241 cdrom_end_request(drive, 0);
1242 return ide_stopped;
1243} 1243}
1244 1244
1245 1245