Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164624
b: refs/heads/master
c: bdac86e
h: refs/heads/master
v: v3
  • Loading branch information
Andy Adamson authored and J. Bruce Fields committed Sep 2, 2009
1 parent 54e46be commit c0e6f5e
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: a8dfdaeb7a8b1295f45d9d208dd27e6e20113d1b
refs/heads/master: bdac86e2154cfe47552639113265d1fa27cfbe72
6 changes: 3 additions & 3 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ static int set_forechannel_drc_size(struct nfsd4_channel_attrs *fchan)
spin_unlock(&nfsd_drc_lock);

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

fchan->maxresp_cached = size + NFSD_MIN_HDR_SEQ_SZ;
return 0;
Expand Down Expand Up @@ -519,7 +519,7 @@ alloc_init_session(struct svc_rqst *rqstp, struct nfs4_client *clp,
struct nfsd4_create_session *cses)
{
struct nfsd4_session *new, tmp;
int idx, status = nfserr_resource, slotsize;
int idx, status = nfserr_serverfault, slotsize;

memset(&tmp, 0, sizeof(tmp));

Expand Down Expand Up @@ -1282,7 +1282,7 @@ nfsd4_exchange_id(struct svc_rqst *rqstp,
/* Normal case */
new = create_client(exid->clname, dname);
if (new == NULL) {
status = nfserr_resource;
status = nfserr_serverfault;
goto out;
}

Expand Down

0 comments on commit c0e6f5e

Please sign in to comment.