Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153680
b: refs/heads/master
c: 3aea09d
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed May 2, 2009
1 parent ac59a8e commit 5c6d287
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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: 6707bd3d420f53ae8f090dac871843f6f43c9980
refs/heads/master: 3aea09dc9106407d8bc18e593fbffda9ad632844
4 changes: 2 additions & 2 deletions trunk/fs/nfsd/nfs4callback.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,11 +507,11 @@ nfsd4_cb_recall(struct nfs4_delegation *dp)
.rpc_argp = dp,
.rpc_cred = clp->cl_cb_conn.cb_cred
};
int retries = 1;
int status = 0;

dp->dl_retries = 1;
status = rpc_call_sync(clnt, &msg, RPC_TASK_SOFT);
while (retries--) {
while (dp->dl_retries--) {
switch (status) {
case -EIO:
/* Network partition? */
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/nfsd/state.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ struct nfs4_delegation {
u32 dl_ident;
stateid_t dl_stateid;
struct knfsd_fh dl_fh;
int dl_retries;
};

/* client delegation callback info */
Expand Down

0 comments on commit 5c6d287

Please sign in to comment.