SUNRPC: skip clients with program without PipeFS entries
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Fri, 20 Apr 2012 14:19:18 +0000 (18:19 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 Apr 2012 18:09:59 +0000 (14:09 -0400)
commit7aab449e5a2ebfa9c5116e87e16536bc4195e4de
treec948a96ddd87c2ed708875c961c9e3577737ae08
parenta4dff1bc492ee4a2184d384ae8b5bcab5859e150
SUNRPC: skip clients with program without PipeFS entries

1) This is sane.
2) Otherwise there will be soft lockup:

do {
rpc_get_client_for_event (clnt->cl_dentry == NULL ==> choose)
__rpc_pipefs_event (clnt->cl_program->pipe_dir_name == NULL ==> return)
} while (1)

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c