lightnvm: add check after mempool allocation
[ Upstream commit 3bfbc6ad ] The mempool allocation might fail. Make sure to return error when it does, instead of causing a kernel panic. Signed-off-by:Javier Gonzalez <javier@cnexlabs.com> Signed-off-by:
Matias Bjørling <m@bjorling.me> Signed-off-by:
Jens Axboe <axboe@fb.com> Signed-off-by:
Sasha Levin <alexander.levin@verizon.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Please register or sign in to comment