Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e136e769 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki Committed by Len Brown
Browse files

Freezer: Fix JFFS2 garbage collector freezing issue (rev. 2)



Fix breakage caused by commit d5d8c597
"freezer: do not send signals to kernel threads" in
jffs2_garbage_collect_thread() that assumed it would be sent signals
by the freezer.

Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Pete MacKay <armlinux@architechnical.net>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 561d9a96
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -105,7 +105,7 @@ static int jffs2_garbage_collect_thread(void *_c)


		/* Put_super will send a SIGKILL and then wait on the sem.
		/* Put_super will send a SIGKILL and then wait on the sem.
		 */
		 */
		while (signal_pending(current)) {
		while (signal_pending(current) || freezing(current)) {
			siginfo_t info;
			siginfo_t info;
			unsigned long signr;
			unsigned long signr;