From: Namjae Jeon Date: Fri, 22 Nov 2024 07:16:00 +0000 (+0900) Subject: ksmbd: use msleep instaed of schedule_timeout_interruptible() X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f75f8bdd4ff4830abe31a1b94892eb12b85b9535;p=users%2Fjedix%2Flinux-maple.git ksmbd: use msleep instaed of schedule_timeout_interruptible() use msleep instaed of schedule_timeout_interruptible() to guarantee the task delays as expected. Signed-off-by: Namjae Jeon Signed-off-by: Steve French --- diff --git a/fs/smb/server/connection.c b/fs/smb/server/connection.c index 23c5ff84c9eb2..9be9f39afb2ba 100644 --- a/fs/smb/server/connection.c +++ b/fs/smb/server/connection.c @@ -462,7 +462,7 @@ again: up_read(&conn_list_lock); if (!list_empty(&conn_list)) { - schedule_timeout_interruptible(HZ / 10); /* 100ms */ + msleep(100); goto again; } }