summaryrefslogtreecommitdiff
path: root/drivers/lightnvm/rrpc.h
diff options
context:
space:
mode:
authorJavier Gonzalez <javier@javigon.com>2016-01-12 09:49:17 +0300
committerJens Axboe <axboe@fb.com>2016-01-12 18:21:16 +0300
commit3bfbc6adbc5031e8a5907baa5beb27b41637742a (patch)
treed42026273ff620c22cd85e18e07069f05578c4a7 /drivers/lightnvm/rrpc.h
parentbdded1552085b12d23c9be76147d2e96647a098f (diff)
downloadlinux-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