mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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:
parent
dfdf141429
commit
cf09d6428d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user