summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-20 11:02:55 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-21 09:29:51 -0500
commitae72ae676045274c82f3c25159a9dd7cfcf5ffae (patch)
tree09013f55649287d90b48f63cdbdbef44b17ae521 /include/linux/nfs_fs_sb.h
parent5df904aeb0d9baad90e78fc730dfe1afa4996005 (diff)
downloadop-kernel-dev-ae72ae676045274c82f3c25159a9dd7cfcf5ffae.zip
op-kernel-dev-ae72ae676045274c82f3c25159a9dd7cfcf5ffae.tar.gz
NFSv4.1: Don't confuse CREATE_SESSION arguments and results
Don't store the target request and response sizes in the same variables used to store the server's replies to those targets. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index a9e76ee..97c8f91 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -242,6 +242,9 @@ struct nfs4_session {
struct nfs4_channel_attrs bc_attrs;
struct nfs4_slot_table bc_slot_table;
struct nfs_client *clp;
+ /* Create session arguments */
+ unsigned int fc_target_max_rqst_sz;
+ unsigned int fc_target_max_resp_sz;
};
#endif /* CONFIG_NFS_V4 */
OpenPOWER on IntegriCloud