]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
lightnvm: fix partial read error path
authorIgor Konopko <igor.j.konopko@intel.com>
Fri, 1 Jun 2018 14:41:09 +0000 (16:41 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jun 2018 15:02:53 +0000 (09:02 -0600)
commitfbadca7396b97d95e2390c97506358f4f9dce7c7
tree9e84e0b90a50b2e2e357c2fbf1fd6dfebc727b99
parentf142ac0b5d18547a9614a697f86820ee35fd7bf0
lightnvm: fix partial read error path

When error occurs during bio_add_page on partial read path, pblk
tries to free pages twice.

Signed-off-by: Igor Konopko <igor.j.konopko@intel.com>
Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-read.c