From: Oleg Nesterov Date: Sat, 7 Nov 2015 00:32:28 +0000 (-0800) Subject: signal: remove jffs2_garbage_collect_thread()->allow_signal(SIGCONT) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9317bb9696566e6759203ffcaa80481b725785b3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git signal: remove jffs2_garbage_collect_thread()->allow_signal(SIGCONT) jffs2_garbage_collect_thread() does allow_signal(SIGCONT) for no reason, SIGCONT will wake a stopped task up even if it is ignored. Signed-off-by: Oleg Nesterov Reviewed-by: Tejun Heo Cc: David Woodhouse Cc: Felipe Balbi Cc: Markus Pargmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/jffs2/background.c b/fs/jffs2/background.c index 53cc7350af33..e5c1783ab64a 100644 --- a/fs/jffs2/background.c +++ b/fs/jffs2/background.c @@ -80,7 +80,6 @@ static int jffs2_garbage_collect_thread(void *_c) siginitset(&hupmask, sigmask(SIGHUP)); allow_signal(SIGKILL); allow_signal(SIGSTOP); - allow_signal(SIGCONT); allow_signal(SIGHUP); c->gc_task = current;