diff --git a/connection.c b/connection.c index c65cc7bf..fd6cc4a8 100644 --- a/connection.c +++ b/connection.c @@ -200,7 +200,7 @@ void ksmbd_conn_wait_idle_sess_id(u64 sess_id) if (atomic_read(&conn->req_running) != 0) { rc = wait_event_timeout(conn->req_running_q, atomic_read(&conn->req_running) == 0, - __msecs_to_jiffies(1000)); + HZ); if (!rc) { up_read(&conn_list_lock); goto retry_idle;