commit | 3bfbc6adbc5031e8a5907baa5beb27b41637742a | [log] [tgz] |
---|---|---|
author | Javier Gonzalez <javier@javigon.com> | Tue Jan 12 07:49:17 2016 +0100 |
committer | Jens Axboe <axboe@fb.com> | Tue Jan 12 08:21:16 2016 -0700 |
tree | d42026273ff620c22cd85e18e07069f05578c4a7 | |
parent | bdded1552085b12d23c9be76147d2e96647a098f [diff] |
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: Javier Gonzalez <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>