|
@@ -237,7 +237,7 @@ static struct rpc_clnt *rpc_get_client_for_event(struct net *net, int event)
|
|
spin_lock(&sn->rpc_client_lock);
|
|
spin_lock(&sn->rpc_client_lock);
|
|
list_for_each_entry(clnt, &sn->all_clients, cl_clients) {
|
|
list_for_each_entry(clnt, &sn->all_clients, cl_clients) {
|
|
if (clnt->cl_program->pipe_dir_name == NULL)
|
|
if (clnt->cl_program->pipe_dir_name == NULL)
|
|
- break;
|
|
|
|
|
|
+ continue;
|
|
if (rpc_clnt_skip_event(clnt, event))
|
|
if (rpc_clnt_skip_event(clnt, event))
|
|
continue;
|
|
continue;
|
|
if (atomic_inc_not_zero(&clnt->cl_count) == 0)
|
|
if (atomic_inc_not_zero(&clnt->cl_count) == 0)
|