Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320224
b: refs/heads/master
c: 46a87b8
h: refs/heads/master
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Jul 16, 2012
1 parent 0d9240a commit 07d63c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a1a1e34dc55f17e7bd260809207442dbb7a0296
refs/heads/master: 46a87b8a7b939900d779042da7097bf330ab787f
7 changes: 6 additions & 1 deletion trunk/fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,12 @@ static int nfs4_wait_clnt_recover(struct nfs_client *clp)

res = wait_on_bit(&clp->cl_state, NFS4CLNT_MANAGER_RUNNING,
nfs_wait_bit_killable, TASK_KILLABLE);
return res;
if (res)
return res;

if (clp->cl_cons_state < 0)
return clp->cl_cons_state;
return 0;
}

static int nfs4_delay(struct rpc_clnt *clnt, long *timeout)
Expand Down

0 comments on commit 07d63c2

Please sign in to comment.