]> 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)
commitdb1dd5b9c92ab2d878bf63e8ba4848d565014f61
treec948a96ddd87c2ed708875c961c9e3577737ae08
parent7d8575bc33105d5f37f5c12abd19dc4f3e6ea370
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