lightnvm: pblk: return NVM_ error on failed submission
authorJavier González <javier@javigon.com>
Fri, 1 Jun 2018 13:04:20 +0000 (15:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jun 2018 13:43:53 +0000 (07:43 -0600)
commitb6730dd4a954ef5a421fe11cbaa02dafe55fcd49
treee115e6ad7d3e6c9b014ef355d6f6afe2ba2138a9
parente37d07983af9068de0303054542d2652ca917f58
lightnvm: pblk: return NVM_ error on failed submission

Return a meaningful error when the sanity vector I/O check fails.

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