Re: [PATCH -next] gfs2: use kmem_cache_free() instead of kfree()

2021-04-09 Thread Andreas Grünbacher
Hi, Am Fr., 9. Apr. 2021 um 10:20 Uhr schrieb Wei Yongjun : > memory allocated by kmem_cache_alloc() should be freed using > kmem_cache_free(), not kfree(). thanks for the patch, that's true. This patch has turned out to have other problems as well, so we've pulled it and Bob is currently investi

[PATCH -next] gfs2: use kmem_cache_free() instead of kfree()

2021-04-09 Thread Wei Yongjun
memory allocated by kmem_cache_alloc() should be freed using kmem_cache_free(), not kfree(). Fixes: 7d6eec37a105 ("gfs2: Allocate bufdata object before taking log lock") Reported-by: Hulk Robot Signed-off-by: Wei Yongjun --- fs/gfs2/trans.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletio