Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234117
b: refs/heads/master
c: 7d6d63d
h: refs/heads/master
i:
  234115: 07fac9e
v: v3
  • Loading branch information
Ricardo Labiaga authored and Trond Myklebust committed Mar 10, 2011
1 parent 5770607 commit 87d6216
Show file tree
Hide file tree
Showing 2 changed files with 12 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: 4cea288aaf0e11647880cc487350b1dc45d9febc
refs/heads/master: 7d6d63d6427090cbb1d282364b65b12634ca59bd
12 changes: 11 additions & 1 deletion trunk/fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -5028,10 +5028,20 @@ int nfs4_proc_create_session(struct nfs_client *clp)
int status;
unsigned *ptr;
struct nfs4_session *session = clp->cl_session;
long timeout = 0;
int err;

dprintk("--> %s clp=%p session=%p\n", __func__, clp, session);

status = _nfs4_proc_create_session(clp);
do {
status = _nfs4_proc_create_session(clp);
if (status == -NFS4ERR_DELAY) {
err = nfs4_delay(clp->cl_rpcclient, &timeout);
if (err)
status = err;
}
} while (status == -NFS4ERR_DELAY);

if (status)
goto out;

Expand Down

0 comments on commit 87d6216

Please sign in to comment.