]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: rename ->nr_pages to ->nr_sects
authorMatias Bjørling <m@bjorling.me>
Sat, 20 Feb 2016 07:52:41 +0000 (08:52 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 3 Mar 2016 21:46:35 +0000 (14:46 -0700)
commit9cce4119592723590b4a918ea147ef8306332bf4
treeaf1736335c8f7abfaebaa3dba63cc5bee77cbd20
parentaf413eeda7964c1810fb824a2305c51813f566b4
lightnvm: rename ->nr_pages to ->nr_sects

The struct rrpc->nr_pages can easily be interpreted as the number of
flash pages allocated to rrpc, while it is the nr_sects. Make sure that
this is reflected from the variable name.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c
drivers/lightnvm/gennvm.c
drivers/lightnvm/rrpc.c
drivers/lightnvm/rrpc.h
include/linux/lightnvm.h