summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
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 /fs/nfsd
parent0c193054a4c1cf190d2f23e5e91bd14402e43912 (diff)
downloadop-kernel-dev-5261dcf8eb3d098545a676030910cf2c05a00e6c.zip
op-kernel-dev-5261dcf8eb3d098545a676030910cf2c05a00e6c.tar.gz
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>
Diffstat (limited to 'fs/nfsd')
-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 e2b11b1..0be417e 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -473,10 +473,6 @@ static int init_forechannel_attrs(struct svc_rqst *rqstp,
fchan->maxops = NFSD_MAX_OPS_PER_COMPOUND;
session_fchan->maxops = fchan->maxops;
- /* try to use the client requested number of slots */
- if (fchan->maxreqs > NFSD_MAX_SLOTS_PER_SESSION)
- fchan->maxreqs = NFSD_MAX_SLOTS_PER_SESSION;
-
/* FIXME: Error means no more DRC pages so the server should
* recover pages from existing sessions. For now fail session
* creation.
OpenPOWER on IntegriCloud