]> git.baikalelectronics.ru Git - kernel.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)
commit4a2064ba5de289cdcfc7ef93a7e5678771626ea1
tree9e84e0b90a50b2e2e357c2fbf1fd6dfebc727b99
parentdd2fe93527593defd488798b8e5a875c663017b3
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