Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Using kmem_cache_zalloc() instead of kmem_cache_alloc() and memset(). spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Signed-off-by: “Theodore Ts’o” — fs/ext4/mballoc.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-) diff –git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index bb821a9..8ec6f88 100644 — a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c @@ -2232,12 …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.