aio: use kmem_cache_free() instead of kfree()
memory allocated by kmem_cache_alloc() should be freed using kmem_cache_free(), not kfree(). Fixes: fa0ca2ae ("deal with get_reqs_available() in aio_get_req() itself") Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Showing
想要评论请 注册 或 登录