summaryrefslogtreecommitdiff
path: root/drivers/lightnvm/core.c
diff options
context:
space:
mode:
authorMarcin Dziegielewski <marcin.dziegielewski@intel.com>2019-05-04 21:37:57 +0300
committerJens Axboe <axboe@kernel.dk>2019-05-06 19:19:18 +0300
commit4bbae699226ea72a91a665f489c0d85fb48885d1 (patch)
tree49bdb70fdbaa7e85b8a2bae69fef9a95b4692063 /drivers/lightnvm/core.c
parent0503871223b7316caa1d6a78b09c167ceb135dd1 (diff)
downloadlinux-4bbae699226ea72a91a665f489c0d85fb48885d1.tar.xz
lightnvm: pblk: set propper line as data_line after gc
In current implementation of l2p recovery, when we are after gc and we have open line, we are not setting current data line properly (we set last line from the device instead of last line ordered by seq_nr) and in consequence, kernel panic and data corruption. Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com> Reviewed-by: Javier González <javier@javigon.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/core.c')
0 files changed, 0 insertions, 0 deletions