lightnvm: pblk: use rqd->end_io for completion
authorJavier González <javier@cnexlabs.com>
Fri, 13 Oct 2017 12:46:21 +0000 (14:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Oct 2017 14:34:57 +0000 (08:34 -0600)
commit26532ee52b77185b095d29b54c83386f737a74ba
treef8e32cf95de0f6b362180584d6d0d8d7ea591f20
parent67bf26a3220e3bd403a62a9289aa1d065d3db82c
lightnvm: pblk: use rqd->end_io for completion

For consistency with the rest of pblk, use rqd->end_io to point to the
function taking care of ending the request on the completion path.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk-read.c