Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206427
b: refs/heads/master
c: 4731030
h: refs/heads/master
i:
  206425: cc3f3ae
  206423: fdae4a7
v: v3
  • Loading branch information
J. Bruce Fields committed Jun 22, 2010
1 parent 96d8691 commit 8b2414b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 76407f76e0f71428f3c31faff004bff87fea51ba
refs/heads/master: 4731030d58a146630f5e8a0519661a5344a60f45
6 changes: 3 additions & 3 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ static int set_forechannel_drc_size(struct nfsd4_channel_attrs *fchan)
spin_unlock(&nfsd_drc_lock);

if (fchan->maxreqs == 0)
return nfserr_serverfault;
return nfserr_jukebox;

fchan->maxresp_cached = size + NFSD_MIN_HDR_SEQ_SZ;
return 0;
Expand Down Expand Up @@ -542,7 +542,7 @@ alloc_init_session(struct svc_rqst *rqstp, struct nfs4_client *clp,
BUILD_BUG_ON(NFSD_MAX_SLOTS_PER_SESSION * sizeof(struct nfsd4_slot)
+ sizeof(struct nfsd4_session) > PAGE_SIZE);

status = nfserr_serverfault;
status = nfserr_jukebox;
/* allocate struct nfsd4_session and slot table pointers in one piece */
slotsize = tmp.se_fchannel.maxreqs * sizeof(struct nfsd4_slot *);
new = kzalloc(sizeof(*new) + slotsize, GFP_KERNEL);
Expand Down Expand Up @@ -1219,7 +1219,7 @@ nfsd4_exchange_id(struct svc_rqst *rqstp,
/* Normal case */
new = create_client(exid->clname, dname, rqstp, &verf);
if (new == NULL) {
status = nfserr_serverfault;
status = nfserr_jukebox;
goto out;
}

Expand Down

0 comments on commit 8b2414b

Please sign in to comment.