scsi: ide: Mark power management requests with RQF_PM instead of RQF_PREEMPT
[linux-2.6-block.git] / drivers / ide / ide-io.c
index c210ea3bd02fad1a587ac5067e08f81ec46f14ae..4867b67b60d698c464bd9f99f248f2e846b9e524 100644 (file)
@@ -518,7 +518,7 @@ repeat:
                 */
                if ((drive->dev_flags & IDE_DFLAG_BLOCKED) &&
                    ata_pm_request(rq) == 0 &&
-                   (rq->rq_flags & RQF_PREEMPT) == 0) {
+                   (rq->rq_flags & RQF_PM) == 0) {
                        /* there should be no pending command at this point */
                        ide_unlock_port(hwif);
                        goto plug_device;