aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index ab2754830322..e53a13ba7f78 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)
1143 1143
1144static inline void ata_qc_reinit(struct ata_queued_cmd *qc) 1144static inline void ata_qc_reinit(struct ata_queued_cmd *qc)
1145{ 1145{
1146 qc->dma_dir = DMA_NONE;
1146 qc->__sg = NULL; 1147 qc->__sg = NULL;
1147 qc->flags = 0; 1148 qc->flags = 0;
1148 qc->cursect = qc->cursg = qc->cursg_ofs = 0; 1149 qc->cursect = qc->cursg = qc->cursg_ofs = 0;