aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lightnvm.h
diff options
context:
space:
mode:
authorJavier González <javier@cnexlabs.com>2016-05-06 14:03:13 -0400
committerJens Axboe <axboe@fb.com>2016-05-06 14:51:10 -0400
commit75b8564932ef646e8620deffacbe134846333948 (patch)
tree9e8e6c71494bce11fee3599b324c04b194131234 /include/linux/lightnvm.h
parent003fad376b924fc3a61c659f38da70356ec144fa (diff)
lightnvm: rename dma helper functions
Until now, the dma pool have been exclusively used to allocate the ppa list being sent to the device. In pblk (upcoming), we use these pools to allocate metadata too. Thus, we generalize the names of some variables on the dma helper functions to make the code more readable. 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/lightnvm.h')
-rw-r--r--include/linux/lightnvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
index 678df4d4354d..0e8e01956325 100644
--- a/include/linux/lightnvm.h
+++ b/include/linux/lightnvm.h
@@ -347,7 +347,7 @@ struct nvm_dev {
347 unsigned max_pages_per_blk; 347 unsigned max_pages_per_blk;
348 348
349 unsigned long *lun_map; 349 unsigned long *lun_map;
350 void *ppalist_pool; 350 void *dma_pool;
351 351
352 struct nvm_id identity; 352 struct nvm_id identity;
353 353