Commit f75f8bdd authored by Namjae Jeon's avatar Namjae Jeon Committed by Steve French
Browse files

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: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 0066f623
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}
}