]> www.infradead.org Git - users/dwmw2/linux.git/commit
lightnvm: pblk: enable line minor version detection
authorMatias Bjørling <mb@lightnvm.io>
Fri, 13 Jul 2018 08:48:38 +0000 (10:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2018 06:39:40 +0000 (08:39 +0200)
commit28929ceced7d250aaa6384c0650e1580937ffe84
tree1f50c12c1f4c3cdd103dd654866d50f426897275
parent7785ada57436def5a43295f6f9c552cfea4ce497
lightnvm: pblk: enable line minor version detection

[ Upstream commit 99b8dad1b6e52721904220322a947f7b75056303 ]

When recovering a line, an extra check was added when debugging was
active, such that minor version where also checked. Unfortunately,
this used the ifdef NVM_DEBUG, which is not correct.

Instead use the proper DEBUG def, and now that it compiles, also fix
the variable.

Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Fixes: d0ab0b1ab991f ("lightnvm: pblk: check data lines version on recovery")
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/lightnvm/pblk-recovery.c