projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0066f62
)
ksmbd: use msleep instaed of schedule_timeout_interruptible()
author
Namjae Jeon
<linkinjeon@kernel.org>
Fri, 22 Nov 2024 07:16:00 +0000
(16:16 +0900)
committer
Steve French
<stfrench@microsoft.com>
Tue, 26 Nov 2024 00:58:26 +0000
(18:58 -0600)
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>
fs/smb/server/connection.c
patch
|
blob
|
history
diff --git
a/fs/smb/server/connection.c
b/fs/smb/server/connection.c
index
23c5ff8
..
9be9f39
100644
(file)
--- 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;
}
}