Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334068
b: refs/heads/master
c: 4973050
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Oct 1, 2012
1 parent 888cf3f commit 617ff4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: d15c077e442d3c4167aaac87b3b7fe8ccad67a1f
refs/heads/master: 497305014864ea9e32adf7e8a06081209a5e7c42
6 changes: 2 additions & 4 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -1771,6 +1771,8 @@ nfsd4_create_session(struct svc_rqst *rqstp,

if (cr_ses->flags & ~SESSION4_FLAG_MASK_A)
return nfserr_inval;
if (check_forechannel_attrs(cr_ses->fore_channel))
return nfserr_toosmall;

nfs4_lock_state();
unconf = find_unconfirmed_client(&cr_ses->clientid, true);
Expand Down Expand Up @@ -1811,10 +1813,6 @@ nfsd4_create_session(struct svc_rqst *rqstp,
cr_ses->flags &= ~SESSION4_PERSIST;
cr_ses->flags &= ~SESSION4_RDMA;

status = nfserr_toosmall;
if (check_forechannel_attrs(cr_ses->fore_channel))
goto out;

status = nfserr_jukebox;
new = alloc_init_session(rqstp, conf, cr_ses);
if (!new)
Expand Down

0 comments on commit 617ff4a

Please sign in to comment.