Skip to content
Commit 8fb7b723 authored by Kevin Hao's avatar Kevin Hao Committed by Steve French
Browse files

ksmbd: Add missing set_freezable() for freezable kthread



The kernel thread function ksmbd_conn_handler_loop() invokes
the try_to_freeze() in its loop. But all the kernel threads are
non-freezable by default. So if we want to make a kernel thread to be
freezable, we have to invoke set_freezable() explicitly.

Signed-off-by: default avatarKevin Hao <haokexin@gmail.com>
Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 8cf9bedf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment