diff options
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 70587f383f10..310fa2f4cbb8 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -302,7 +302,7 @@ found_client: | |||
302 | if (new) | 302 | if (new) |
303 | nfs_free_client(new); | 303 | nfs_free_client(new); |
304 | 304 | ||
305 | error = wait_event_interruptible(nfs_client_active_wq, | 305 | error = wait_event_killable(nfs_client_active_wq, |
306 | clp->cl_cons_state != NFS_CS_INITING); | 306 | clp->cl_cons_state != NFS_CS_INITING); |
307 | if (error < 0) { | 307 | if (error < 0) { |
308 | nfs_put_client(clp); | 308 | nfs_put_client(clp); |
@@ -494,10 +494,6 @@ static int nfs_init_server_rpcclient(struct nfs_server *server, rpc_authflavor_t | |||
494 | if (server->flags & NFS_MOUNT_SOFT) | 494 | if (server->flags & NFS_MOUNT_SOFT) |
495 | server->client->cl_softrtry = 1; | 495 | server->client->cl_softrtry = 1; |
496 | 496 | ||
497 | server->client->cl_intr = 0; | ||
498 | if (server->flags & NFS4_MOUNT_INTR) | ||
499 | server->client->cl_intr = 1; | ||
500 | |||
501 | return 0; | 497 | return 0; |
502 | } | 498 | } |
503 | 499 | ||