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: NMartin K. Petersen <martin.petersen@oracle.com> Signed-off-by: NJens Axboe <jaxboe@fusionio.com>
Showing
想要评论请 注册 或 登录