aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.