diff options
author | Alexandros Batsakis <Alexandros.Batsakis@netapp.com> | 2009-06-16 04:19:13 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-06-16 10:13:45 -0700 |
commit | 6c18ba9f5e506b8115b89b1aa7bdc25178f40b0a (patch) | |
tree | 12f046162b585649490be390695302bfdce11630 /fs/nfsd/nfs4xdr.c | |
parent | b9081d90f5b989cd927052084b16b4f950c8c8d7 (diff) | |
download | talos-obmc-linux-6c18ba9f5e506b8115b89b1aa7bdc25178f40b0a.tar.gz talos-obmc-linux-6c18ba9f5e506b8115b89b1aa7bdc25178f40b0a.zip |
nfsd41: move channel attributes from nfsd4_session to a nfsd4_channel_attr struct
the change is valid for both the forechannel and the backchannel (currently dummy)
Signed-off-by: Alexandros Batsakis <Alexandros.Batsakis@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index d07f704a2ac9..2dcc7feaa6ff 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -3183,7 +3183,7 @@ static int nfsd4_check_drc_limit(struct nfsd4_compoundres *resp) dprintk("%s length %u, xb->page_len %u tlen %u pad %u\n", __func__, length, xb->page_len, tlen, pad); - if (length <= session->se_fmaxresp_cached) + if (length <= session->se_fchannel.maxresp_cached) return status; else return nfserr_rep_too_big_to_cache; |