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 <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
Namjae Jeon 2024-11-22 16:16:00 +09:00 committed by Steve French
parent 0066f623bc
commit f75f8bdd4f

View File

@ -462,7 +462,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;
}
}