block: Fix double free in blk_integrity_unregister
Commit 3839e4b2 introduced a kobject_put but failed to remove the kmem_cache_free beneath it, leading to a double free. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Showing
Please register or sign in to comment