1
0
Fork 0

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>
This commit is contained in:
Jiri Kosina 2016-02-10 11:41:08 +01:00 committed by Greg Kroah-Hartman
parent dfdf141429
commit cf09d6428d

View file

@ -1147,7 +1147,6 @@ int w1_process(void *data)
jremain = 1;
}
try_to_freeze();
__set_current_state(TASK_INTERRUPTIBLE);
/* hold list_mutex until after interruptible to prevent loosing