From ec2698c8b92697e0cabb425a57bfd444182971f3 Mon Sep 17 00:00:00 2001 From: Namjae Jeon Date: Thu, 21 Nov 2024 09:36:14 +0900 Subject: [PATCH] ksmbd: use msleep instaed of schedule_timeout_interruptible() Signed-off-by: Namjae Jeon --- connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connection.c b/connection.c index 4b80b626c..aa33dc7d6 100644 --- a/connection.c +++ b/connection.c @@ -515,7 +515,7 @@ static void stop_sessions(void) up_read(&conn_list_lock); if (!list_empty(&conn_list)) { - schedule_timeout_interruptible(HZ / 10); /* 100ms */ + msleep(100); goto again; } }