Message ID | 20241123041706.4943-6-linkinjeon@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/6] ksmbd: use __GFP_RETRY_MAYFAIL | expand |
diff --git a/fs/smb/server/connection.c b/fs/smb/server/connection.c index a329e6c9076e..c14dd72e1b30 100644 --- a/fs/smb/server/connection.c +++ b/fs/smb/server/connection.c @@ -463,7 +463,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; } }
use msleep instaed of schedule_timeout_interruptible() to guarantee the task delays as expected. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> --- fs/smb/server/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)