Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3bfbc6ad authored by Javier Gonzalez's avatar Javier Gonzalez Committed by Jens Axboe
Browse files

lightnvm: add check after mempool allocation



The mempool allocation might fail. Make sure to return error when it
does, instead of causing a kernel panic.

Signed-off-by: default avatarJavier Gonzalez <javier@cnexlabs.com>
Signed-off-by: default avatarMatias Bjørling <m@bjorling.me>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent bdded155
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment