Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

w1: w1_process() is not freezable kthread

w1_process() calls try_to_freeze(), but the thread doesn't mark itself
freezable through set_freezable(), so the try_to_freeze() call is useless.

Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jiri Kosina and committed by
Greg Kroah-Hartman
cf09d642 dfdf1414

-1
-1
drivers/w1/w1.c
··· 1147 1147 jremain = 1; 1148 1148 } 1149 1149 1150 - try_to_freeze(); 1151 1150 __set_current_state(TASK_INTERRUPTIBLE); 1152 1151 1153 1152 /* hold list_mutex until after interruptible to prevent loosing