lightnvm: rename nr_pages to nr_ppas on nvm_rq

The number of ppas contained on a request is not necessarily the number
of pages that it maps to neither on the target nor on the device side.
In order to avoid confusion, rename nr_pages to nr_ppas since it is what
the variable actually contains.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
Javier González 2016-05-06 20:03:20 +02:00 committed by Jens Axboe
parent df414b33bb
commit 6d5be9590b
7 changed files with 17 additions and 17 deletions

View file

@ -244,7 +244,7 @@ struct nvm_rq {
nvm_end_io_fn *end_io;
uint8_t opcode;
uint16_t nr_pages;
uint16_t nr_ppas;
uint16_t flags;
u64 ppa_status; /* ppa media status */