aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 162f8b5509ac..7b7c78e42077 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -466,6 +466,7 @@ struct ata_queued_cmd {
466 unsigned int sect_size; 466 unsigned int sect_size;
467 467
468 unsigned int nbytes; 468 unsigned int nbytes;
469 unsigned int raw_nbytes;
469 unsigned int curbytes; 470 unsigned int curbytes;
470 471
471 struct scatterlist *cursg; 472 struct scatterlist *cursg;
@@ -1362,7 +1363,7 @@ static inline void ata_qc_reinit(struct ata_queued_cmd *qc)
1362 qc->flags = 0; 1363 qc->flags = 0;
1363 qc->cursg = NULL; 1364 qc->cursg = NULL;
1364 qc->cursg_ofs = 0; 1365 qc->cursg_ofs = 0;
1365 qc->nbytes = qc->curbytes = 0; 1366 qc->nbytes = qc->raw_nbytes = qc->curbytes = 0;
1366 qc->n_elem = 0; 1367 qc->n_elem = 0;
1367 qc->mapped_n_elem = 0; 1368 qc->mapped_n_elem = 0;
1368 qc->n_iter = 0; 1369 qc->n_iter = 0;