commit | 6af1c849dfb1f1d326fbdd157c9bc882b921f450 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Thu Apr 04 08:44:05 2019 +0000 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Apr 04 20:13:59 2019 -0400 |
tree | c18cbae2df9acef4118d5d0475ff2b72b0227958 | |
parent | 27fad74a5a77fe2e1f876db7bf27efcf2ec304b2 [diff] |
aio: use kmem_cache_free() instead of kfree() memory allocated by kmem_cache_alloc() should be freed using kmem_cache_free(), not kfree(). Fixes: fa0ca2aee3be ("deal with get_reqs_available() in aio_get_req() itself") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>