summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorXidong Wang <wangxidong_97@163.com>2018-04-10 16:29:34 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-11 10:28:31 -0700
commit1ec6995d1290bfb87cc3a51f0836c889e857cef9 (patch)
tree455759eace6680ca870b1065ee911048ab261bd9 /MAINTAINERS
parent2a70f6a76bb86d1f39a34b7764f6dcc4257b0356 (diff)
downloadlinux-1ec6995d1290bfb87cc3a51f0836c889e857cef9.tar.gz
linux-1ec6995d1290bfb87cc3a51f0836c889e857cef9.tar.bz2
linux-1ec6995d1290bfb87cc3a51f0836c889e857cef9.zip
z3fold: fix memory leak
In z3fold_create_pool(), the memory allocated by __alloc_percpu() is not released on the error path that pool->compact_wq , which holds the return value of create_singlethread_workqueue(), is NULL. This will result in a memory leak bug. [akpm@linux-foundation.org: fix oops on kzalloc() failure, check __alloc_percpu() retval] Link: http://lkml.kernel.org/r/1522803111-29209-1-git-send-email-wangxidong_97@163.com Signed-off-by: Xidong Wang <wangxidong_97@163.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Vitaly Wool <vitalywool@gmail.com> Cc: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions