lightnvm: pblk: use nvm_rq_to_ppa_list()
authorIgor Konopko <igor.j.konopko@intel.com>
Sat, 4 May 2019 18:38:11 +0000 (20:38 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 6 May 2019 16:19:19 +0000 (10:19 -0600)
commit45c5fcbb73416f367100a4bccd116fd2752e5940
treea639b328a9d5ccf9d2c447ca303af8daac017702
parenta96de64a24e5035018c5a912f2b877da8797277e
lightnvm: pblk: use nvm_rq_to_ppa_list()

This patch replaces few remaining usages of rqd->ppa_list[] with
existing nvm_rq_to_ppa_list() helpers. This is needed for theoretical
devices with ws_min/ws_opt equal to 1.

Signed-off-by: Igor Konopko <igor.j.konopko@intel.com>
Reviewed-by: Javier González <javier@javigon.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk-recovery.c