projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0768eb
)
SUNRPC: Allow rpcbind requests to be interrupted by a signal.
author
Chuck Lever
<chuck.lever@oracle.com>
Sun, 1 Jul 2007 16:13:07 +0000
(12:13 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:45 +0000
(23:40 -0400)
This allows NFS mount requests and RPC re-binding to be interruptible if the
server isn't responding.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/rpcb_clnt.c
b/net/sunrpc/rpcb_clnt.c
index cf7db59cdcded7738315c9a71927cb5b30209497..9a20f380ab09807ea78fe60ff34deae13cbe3852 100644
(file)
--- a/
net/sunrpc/rpcb_clnt.c
+++ b/
net/sunrpc/rpcb_clnt.c
@@
-184,7
+184,8
@@
static struct rpc_clnt *rpcb_create(char *hostname, struct sockaddr *srvaddr,
.program = &rpcb_program,
.version = version,
.authflavor = RPC_AUTH_UNIX,
- .flags = RPC_CLNT_CREATE_NOPING,
+ .flags = (RPC_CLNT_CREATE_NOPING |
+ RPC_CLNT_CREATE_INTR),
};
((struct sockaddr_in *)srvaddr)->sin_port = htons(RPCBIND_PORT);