]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: fix releases of kmem cache in error path
authorRakesh Pandit <rakesh@tuxera.com>
Fri, 13 Oct 2017 12:46:33 +0000 (14:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Oct 2017 14:34:57 +0000 (08:34 -0600)
commit2de9b52d88af2d423ab5f06c5ba8b5d0a0479d75
tree8899960886f3716486a317a4349375d2dc851b13
parent2793a4566539549a3863a3fc627a2ffa76dfb2ac
lightnvm: pblk: fix releases of kmem cache in error path

If pblk_core_init fails lets destroy all global caches.

Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-init.c