diff options
author | Javier Gonzalez <javier@javigon.com> | 2016-01-12 09:49:17 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-01-12 18:21:16 +0300 |
commit | 3bfbc6adbc5031e8a5907baa5beb27b41637742a (patch) | |
tree | d42026273ff620c22cd85e18e07069f05578c4a7 /drivers/lightnvm/rrpc.h | |
parent | bdded1552085b12d23c9be76147d2e96647a098f (diff) | |
download | linux-3bfbc6adbc5031e8a5907baa5beb27b41637742a.tar.xz |
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>
Diffstat (limited to 'drivers/lightnvm/rrpc.h')
0 files changed, 0 insertions, 0 deletions