aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-07-23 19:02:14 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-07-28 14:30:15 -0400
commit5261dcf8eb3d098545a676030910cf2c05a00e6c (patch)
tree7ebde7d066f54842bf990005b6f4847e40ee72f6
parent0c193054a4c1cf190d2f23e5e91bd14402e43912 (diff)
nfsd41: remove redundant forechannel max requests check
This check is done in set_forechannel_maxreqs. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
-rw-r--r--fs/nfsd/nfs4state.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index e2b11b1b515c..0be417e3aab6 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -473,10 +473,6 @@ static int init_forechannel_attrs(struct svc_rqst *rqstp,
473 fchan->maxops = NFSD_MAX_OPS_PER_COMPOUND; 473 fchan->maxops = NFSD_MAX_OPS_PER_COMPOUND;
474 session_fchan->maxops = fchan->maxops; 474 session_fchan->maxops = fchan->maxops;
475 475
476 /* try to use the client requested number of slots */
477 if (fchan->maxreqs > NFSD_MAX_SLOTS_PER_SESSION)
478 fchan->maxreqs = NFSD_MAX_SLOTS_PER_SESSION;
479
480 /* FIXME: Error means no more DRC pages so the server should 476 /* FIXME: Error means no more DRC pages so the server should
481 * recover pages from existing sessions. For now fail session 477 * recover pages from existing sessions. For now fail session
482 * creation. 478 * creation.