diff options
author | Javier González <jg@lightnvm.io> | 2016-05-06 20:03:20 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-05-06 12:51:10 -0600 |
commit | 6d5be9590b5e15124e3c8b319c8d7ce01abcf07d (patch) | |
tree | 7d3203bb0aa3a59de19f4cbb4de1c8b4502dd63c /include/linux | |
parent | df414b33bb1eb3a0ae52ccd4ecfec9323a4f89dc (diff) | |
download | op-kernel-dev-6d5be9590b5e15124e3c8b319c8d7ce01abcf07d.zip op-kernel-dev-6d5be9590b5e15124e3c8b319c8d7ce01abcf07d.tar.gz |
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/lightnvm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h index 3a810d7..b2991c7 100644 --- a/include/linux/lightnvm.h +++ b/include/linux/lightnvm.h @@ -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 */ |