diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2024-11-22 16:16:00 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-11-25 18:58:26 -0600 |
commit | f75f8bdd4ff4830abe31a1b94892eb12b85b9535 (patch) | |
tree | 1685517fb6f48995696825e2f5a913a67f0934db | |
parent | 0066f623bce8f98b69b752ee03d46a5047c281b8 (diff) |
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>
-rw-r--r-- | fs/smb/server/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/server/connection.c b/fs/smb/server/connection.c index 23c5ff84c9eb..9be9f39afb2b 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; } } |