| Submitter | Bartlomiej Zolnierkiewicz |
|---|---|
| Date | July 1, 2009, 4:21 p.m. |
| Message ID | <200907011821.26091.bzolnier@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/29355/ |
| State | RFC |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
Index: b/drivers/ide/ide-io.c =================================================================== --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c @@ -532,7 +532,8 @@ repeat: if (startstop == ide_stopped) { rq = hwif->rq; - hwif->rq = NULL; + if ((drive->dev_flags & IDE_DFLAG_BLOCKED) == 0) + hwif->rq = NULL; goto repeat; } } else