]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
signal: remove jffs2_garbage_collect_thread()->allow_signal(SIGCONT)
authorOleg Nesterov <oleg@redhat.com>
Wed, 21 Oct 2015 22:03:58 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:58 +0000 (09:03 +1100)
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 <oleg@redhat.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/jffs2/background.c

index 53cc7350af33083b5586d52566865f2c6e0ff87e..e5c1783ab64a050a7460bfe80b2afc966f0c8902 100644 (file)
@@ -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;