lightnvm: pblk: use right metadata buffer for recovery
authorJavier González <jg@lightnvm.io>
Fri, 30 Jun 2017 15:56:38 +0000 (17:56 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 30 Jun 2017 17:08:18 +0000 (11:08 -0600)
commit8224cbd80be15908ecb6351b90291596e8bdcf79
tree35bef37a6adb746528058bae684733f9dd50439b
parent10888129783cc8daeeb9c47942876b917532b58c
lightnvm: pblk: use right metadata buffer for recovery

Fix bad metadata buffer assignations introduced when refactoring the
medatada write path.

Fixes: dd2a43437337 lightnvm: pblk: sched. metadata on write thread
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-recovery.c