diff --git a/include/linux/libata.h b/include/linux/libata.h index ab2754830322f96a5e1a80538104fa143a6028b1..e53a13ba7f7833275b54005a237153ac541ee288 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -1143,6 +1143,7 @@ static inline void ata_tf_init(struct ata_device *dev, struct ata_taskfile *tf) static inline void ata_qc_reinit(struct ata_queued_cmd *qc) { + qc->dma_dir = DMA_NONE; qc->__sg = NULL; qc->flags = 0; qc->cursect = qc->cursg = qc->cursg_ofs = 0;