lightnvm: use target nvm on target-specific ops.
authorJavier González <jg@lightnvm.io>
Mon, 28 Nov 2016 21:39:13 +0000 (22:39 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 29 Nov 2016 19:12:51 +0000 (12:12 -0700)
commitda2d7cb828ce2714c603827ac5a6e1c98a02e861
treebd15a53bc10f800acf7b9d8e2f37bcf105e369bb
parenta279006afa3377493c4240395c70430f2a9b0d2b
lightnvm: use target nvm on target-specific ops.

On target-specific operations pass on nvm_tgt_dev instead of the generic
nvm device.

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>
drivers/lightnvm/core.c
drivers/lightnvm/rrpc.c
drivers/lightnvm/rrpc.h
include/linux/lightnvm.h