block: unify flags for struct bio and struct request
[deliverable/linux.git] / drivers / ide / ide-floppy.c
index c7d0737bb18a9a9435137052c5c43544ffab5436..5406b6ea3ad1d2118996a405da5b33ac1359e4ad 100644 (file)
@@ -207,7 +207,7 @@ static void idefloppy_create_rw_cmd(ide_drive_t *drive,
        memcpy(rq->cmd, pc->c, 12);
 
        pc->rq = rq;
-       if (rq->cmd_flags & REQ_RW)
+       if (rq->cmd_flags & REQ_WRITE)
                pc->flags |= PC_FLAG_WRITING;
 
        pc->flags |= PC_FLAG_DMA_OK;
This page took 0.025638 seconds and 5 git commands to generate.