Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309857
b: refs/heads/master
c: 34b232b
h: refs/heads/master
i:
  309855: 6ed3b05
v: v3
  • Loading branch information
J. Bruce Fields committed Jun 1, 2012
1 parent b8224b1 commit aa98627
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 8f9307119d7fb2f2c04fce27aa492d30e7ac4518
refs/heads/master: 34b232bb3742dc88eef7352da2ca018f51ac4561
9 changes: 2 additions & 7 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -2195,16 +2195,11 @@ nfsd4_setclientid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
new = create_client(clname, dname, rqstp, &clverifier);
if (new == NULL)
goto out;
if (!conf) {
/* case 4: placed first, because it's the normal case */
gen_clid(new);
} else if (same_verf(&conf->cl_verifier, &clverifier)) {
if (conf && same_verf(&conf->cl_verifier, &clverifier))
/* case 1: probable callback update */
copy_clid(new, conf);
} else { /* conf && !same_verf(): */
/* cases 2, 3: probable client reboot: */
else /* case 4 (new client) or cases 2, 3 (client reboot): */
gen_clid(new);
}
/*
* XXX: we should probably set this at creation time, and check
* for consistent minorversion use throughout:
Expand Down

0 comments on commit aa98627

Please sign in to comment.