]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3706110b97be438b6face2c06c7ef2993def1f96
treec948a96ddd87c2ed708875c961c9e3577737ae08
parentab4a6ef75003b7b5a2bafae601152d8ad0420c61
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