File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -167,23 +167,7 @@ void ksmbd_all_conn_set_status(u64 sess_id, u32 status)
167167
168168void ksmbd_conn_wait_idle (struct ksmbd_conn * conn , u64 sess_id )
169169{
170- struct ksmbd_conn * bind_conn ;
171-
172170 wait_event (conn -> req_running_q , atomic_read (& conn -> req_running ) < 2 );
173-
174- down_read (& conn_list_lock );
175- list_for_each_entry (bind_conn , & conn_list , conns_list ) {
176- if (bind_conn == conn )
177- continue ;
178-
179- if ((bind_conn -> binding || xa_load (& bind_conn -> sessions , sess_id )) &&
180- !ksmbd_conn_releasing (bind_conn ) &&
181- atomic_read (& bind_conn -> req_running )) {
182- wait_event (bind_conn -> req_running_q ,
183- atomic_read (& bind_conn -> req_running ) == 0 );
184- }
185- }
186- up_read (& conn_list_lock );
187171}
188172
189173int ksmbd_conn_write (struct ksmbd_work * work )
You can’t perform that action at this time.
0 commit comments